Re: [Paraview] How to get back the first line of a VTK legacy file

2010-03-01 Thread Berk Geveci
VTK legacy format is a bit confusing because it follows old VTK terminology. You seem to be setting the FieldData for the cell data. You need to set DataObject's FieldData. Here is an example: # vtk DataFile Version 3.0 vtk output ASCII DATASET POLYDATA FIELD FieldData 1 aFieldArray 1 1 float 2 PO

Re: [Paraview] textures and volume rendering

2010-03-01 Thread Berk Geveci
No. We don't use texture based volume rendering in ParaView. On Sat, Feb 27, 2010 at 11:10 AM, David Fuentes wrote: > Hello, > > > I can get TextureMaptoPlane/Sphere/Cylinder to display textures on > surfaces. > Is there an analogous method to display similar textures for volume > rendering? > >

Re: [Paraview] Name query from multi-block data in Python

2010-03-01 Thread Berk Geveci
Yes. If one of the first level children is a multi-block dataset, you can do something like: dataInformation.GetCompositeDataInformation().GetDataInformation(i).GetCompositeDataInformation().GetInformation(j) -berk On Sat, Feb 27, 2010 at 5:33 AM, bastil2...@yahoo.de wrote: > Hi, > > I use pyth

Re: [Paraview] Name query from multi-block data in Python

2010-03-01 Thread Utkarsh Ayachit
Alternatively you can use the vtkPVCompositeDataInformationIterator to iterate over the blocks as well. It has a method GetCurrentName() which can be used to obtain the name of the current block. Utkarsh On Mon, Mar 1, 2010 at 6:40 AM, Berk Geveci wrote: > Yes. If one of the first level children

[Paraview] VTK EnSight Gold reader issue

2010-03-01 Thread Adriano Gagliardi
Dear All, I have been having trouble reading in an Ensight file (just the .case and .geo) with ParaView. When I try to read it in I get the following error message: ERROR: In /usr/people/gagliard/Paraview/FILES/ParaView3/VTK/IO/vtkEnSightGoldBinaryRea der.cxx, line 2475 vtkEnSightGoldBinaryReade

Re: [Paraview] How to color by Cell Data

2010-03-01 Thread Michael Jackson
Here is a screen shot. I updated to latest cvs and recompiled. Still no joy. I even tried saving the data set to a new file, then loading the file. No luck there either. Any other suggestions are welcome. I do have the data file if you are interested. <> _

Re: [Paraview] How to color by Cell Data

2010-03-01 Thread Sven Buijssen
Hi, I tested my nightly clean builds of ParaView CVS HEAD (pulled via git) + Qt 4.5.2 on * SuSE Linux Enterprise Server 10 SP2 * Ubuntu 9.10 Server 64bit * openSuSE 10.2 64bit * openSuSE 11.1 32bit * SPARC Solaris 10 64bit (PV CVS 2010-02-25, nothing newer as I'm having some trouble with Mesa sin

Re: [Paraview] VTK EnSight Gold reader issue

2010-03-01 Thread Zhanping Liu
Hi Agagliardi: This is a 64-bit issue that BastiL is also concerned with. There will be a fix soon. Thanks. -Zhanping On Mon, Mar 1, 2010 at 9:39 AM, Adriano Gagliardi wrote: > > Dear All, > > I have been having trouble reading in an Ensight file (just the .case and > .geo) with Pa

Re: [Paraview] How to color by Cell Data

2010-03-01 Thread Michael Jackson
Well, this is really getting weird. I have to admit that I have NOT tried it on anything other than OS X with Qt/Cocoa. I am going to try with OS X/Qt-Carbon (Qt 4.6.2) and see what happens. I guess I'll try Windows Next. -- Mike Jackson On Mar 1, 2010, at 9:52 AM, Sven Buijssen wrote:

Re: [Paraview] How to color by Cell Data

2010-03-01 Thread Utkarsh Ayachit
I've tried on Os X (4.6 Cocoa), and Linux and still cannot reproduce the issue. Mike, if you don't mind a little debugging, I can point you to the relevant code. Utkarsh On Mon, Mar 1, 2010 at 10:20 AM, Michael Jackson wrote: > Well, this is really getting weird. I have to admit that I have NOT

Re: [Paraview] How to color by Cell Data

2010-03-01 Thread Michael Jackson
Send me the areas to look at and I'll try to see what is happening. -- Mike Jackson On Mar 1, 2010, at 10:33 AM, Utkarsh Ayachit wrote: I've tried on Os X (4.6 Cocoa), and Linux and still cannot reproduce the issue. Mike, if you don't mind a little debugging, I can point you to the relevant

Re: [Paraview] How to color by Cell Data

2010-03-01 Thread Utkarsh Ayachit
The the widget is Qt/Component/pqDisplayColorWidget.h|cxx. Look at pqDisplayColorWidget::reloadGUI(). In this method it gets the list of arrays and then populates the combo-box. Utkarsh On Mon, Mar 1, 2010 at 10:41 AM, Michael Jackson wrote: > Send me the areas to look at and I'll try to see wh

Re: [Paraview] How to color by Cell Data

2010-03-01 Thread Michael Jackson
Just to follow up on this. I downloaded the precompiled ParaView 3.6.2 for OS X (Running on OS X 10.5.8/Intel). This is how I reproduced the problem. Launch ParaView. Select a Sphere source. Note that there already is a Point Array called "Normals" and the Color By drop down will show it.

Re: [Paraview] VTK EnSight Gold reader issue

2010-03-01 Thread Adriano Gagliardi
Hi Zhanping, Ok, I thought it may have been fixed. Is there a chance it may make the 3.8 release? Thanks, Adriano === Adriano Gagliardi MEng PhD Project Scientist Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234

Re: [Paraview] GPU based volume rendering in ParaView

2010-03-01 Thread Aashish Chaudhary
No there is no special option required but you would have to update your paraview cvs copy as the code got into cvs last thursday. Can you update and compile again? Thanks, On Sun, Feb 28, 2010 at 2:27 PM, Pierre-Olivier Dallaire < pierre-olivier.dalla...@videotron.ca> wrote: > Hi, > > Do we

Re: [Paraview] running paraview in parallel

2010-03-01 Thread burlen
Vishwa, I never hit it, but searching the web seems to be a difference in how gcc handles inline functions. Try the following: Edit "Mesa-7.7/configs/linux" change "-std=c99" to "-std=c89" make distclean make linux-x86-64 Hope that helps. Vishwa wrote: Hi, when i try to compile mesa under r

[Paraview] Fwd: Re : Ensight Reader: Invalid number of unstructured points read check that ByteOrder is set correctly

2010-03-01 Thread Zhanping Liu
Hi Agagliardi: Please see the messages below for the latest situation of the fix to the 64-bit issue. -Zhanping -- Forwarded message -- From: Stephane PLOIX Date: Thu, Feb 25, 2010 at 3:18 AM Subject: Re: Re : Ensight Reader: Invalid number of unstructured points read ch

Re: [Paraview] Linking in plugin for static build

2010-03-01 Thread Moreland, Kenneth
So if I were to link the plugin into the client, I would modify ParaViewMainWindow.cxx and the ParaViewMainWindow::ParaViewMainWindow() constructor, right? -Ken On 2/27/10 8:19 PM, "Utkarsh Ayachit" wrote: You can't with 3.6.2. It's only possible with 3.8. http://www.paraview.org/Wiki/Plugin

Re: [Paraview] How to color by Cell Data

2010-03-01 Thread Michael Jackson
So I figured out where the problem lies, but not what the actual problem is: QList pqPipelineRepresentation::getColorFields() for(int i=0; iGetNumberOfArrays(); i++) that loop is 0 to 0 on OS X and 0 to 2 on Windows. But using the exact same data file. So for some reason the OS X versio

Re: [Paraview] Cells and Points in a Structured Grid Volume

2010-03-01 Thread Moreland, Kenneth
Please read The VTK User's Guide. In particular, Chapter 12 talks about the structure, implementation, and interface of VTK data objects. It should clear up lots of your questions. http://www.kitware.com/products/books/vtkguide.html The Threshold filter converts the data from a structured gri

Re: [Paraview] GPU based volume rendering in ParaView

2010-03-01 Thread Eric E. Monson
Hey Aashish, I've been having trouble with it, too, on my Mac (OS X 10.6.2, PV compiled serial x86_64 arch updated from CVS and rebuilt today, CMake 2.9.20100113). Are there any special hardware requirements, then? I can see the GPU Volume Mapper option, but when I switch over to that from the

Re: [Paraview] Cells and Points in a Structured Grid Volume

2010-03-01 Thread John Mitchell
Not sure if this is the appropriate thread: What happens in parallel if a connectivity array for a given cell has point id's that are off-processor? Suppose: * processor P0 owns points x1, x2, x3 -- numCells = 3; cell c1(x1) connectivity = {x2, x8} * processor P1 owns point x4, x

Re: [Paraview] GPU based volume rendering in ParaView

2010-03-01 Thread Aashish Chaudhary
Eric, Yes you do need to have certain extensions. Now the mapper I have not written myself and hence I am forwarding this email to vtk users list. I hope that the original author would respond to it. I will see if we can produce a better message which could list the missing extensions. Thanks fo

[Paraview] Problems with Paraview 3.7-dev: Save screenshot, ExtractBlock in Python

2010-03-01 Thread bastil2...@yahoo.de
Dear all, I was recently faced with two Problems in 3.7-dev om Linux64: * "Save screenshot" with "Print" scheme does not create a white backgroud. It is only white behind the pop-up window. * Showing an ExtractBlock Filter with Python crashes Paraview: o eb=ExtractBlock()

Re: [Paraview] Problems with Paraview 3.7-dev: Save screenshot, ExtractBlock in Python

2010-03-01 Thread Utkarsh Ayachit
Sounds like an offscreen rendering issue, can you try disabling "Use offscreen rendering for screenshots" from Edit |Settings | Render View page? Utkarsh 2010/3/1 bastil2...@yahoo.de : > Dear all, > > I was recently faced with two Problems in 3.7-dev om Linux64: > > "Save screenshot" with "Print"

Re: [Paraview] Linking in plugin for static build

2010-03-01 Thread Utkarsh Ayachit
Yes, that's correct. Utkarsh On Mon, Mar 1, 2010 at 12:32 PM, Moreland, Kenneth wrote: > So if I were to link the plugin into the client, I would modify > ParaViewMainWindow.cxx and the ParaViewMainWindow::ParaViewMainWindow() > constructor, right? > > -Ken > > > On 2/27/10 8:19 PM, "Utkarsh Aya

Re: [Paraview] Cells and Points in a Structured Grid Volume

2010-03-01 Thread Moreland, Kenneth
The points are duplicated on all processes that have cells that point to them. -Ken On 3/1/10 11:04 AM, "John Mitchell" wrote: Not sure if this is the appropriate thread: What happens in parallel if a connectivity array for a given cell has point id's that are off-processor? Suppose: * p

[Paraview] Problem (and work-around) for ArbitrarySourceStreamTracer on Mac

2010-03-01 Thread Russell M. Taylor II
One of the students in my class was using ArbitrarySourceStreamTracer on a mac and found that he couldn't see the Source: radio button to enable selection of a source. Another student in the class noticed that if they resized the dialog box then they could see the control. So it must be some

Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-01 Thread Eric E. Monson
Hey Utkarsh, That's very cool functionality. One part of the interface is either not very intuitive or I'm running into a bug: The "is" or "is one of" operators don't seem to work with anything other than ID or Global ID. If I try to use it, say, on an integer point data attribute and do "attr

Re: [Paraview] Problem (and work-around) for ArbitrarySourceStreamTracer on Mac

2010-03-01 Thread Eric E. Monson
Hey Russ, This doesn't make it any more obvious, but I think you can also see the source button if you scroll down on the scrollbar that shows up to the right of the Input button. It only seems to do this on 3.6.2. With the current CVS version I can't get the source button to disappear no mat

Re: [Paraview] [vtkusers] GPU based volume rendering in ParaView

2010-03-01 Thread Eric E. Monson
Hey all, Thanks for the feedback. Yup, I can get it to error out just as you said! :) I guess I'd seen something about this on the list regarding VTKEdge, but hadn't remembered. Please let us all know, though, if a solution pops up. Talk to you later, -Eric On Mar 1, 2010, at 1:54 PM, Francoi

Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-01 Thread Utkarsh Ayachit
Eric, Good catch. I must have missed this one. The problem seems to be that vtkExtractSelectedIds has a stupid limitation where it expects the array types to be same. I am going to look at fixing vtkExtractSelectedIds soon (give me a day or two). Utkarsh On Mon, Mar 1, 2010 at 2:07 PM, Eric E. M

Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-01 Thread Eric E. Monson
Thanks, Utkarsh -- I appreciate it. With the way the existing query-based selection framework is implemented, is there any chance of incorporating the chaining of queries to select subsets of subsets? (With my users, I know this is one of the first things they're going to ask me when I show the

Re: [Paraview] [Paraview-developers] The Quest for Data

2010-03-01 Thread Utkarsh Ayachit
> With the way the existing query-based selection framework is implemented, is > there any chance of incorporating the chaining of queries to select subsets > of subsets? (With my users, I know this is one of the first things they're > going to ask me when I show them the new functionality.) No

Re: [Paraview] Problems with Paraview 3.7-dev: Save screenshot, ExtractBlock in Python

2010-03-01 Thread bastil2...@yahoo.de
I will try this. Regards Bastian Am 01.03.2010 19:19, schrieb Utkarsh Ayachit: > Sounds like an offscreen rendering issue, can you try disabling "Use > offscreen rendering for screenshots" from Edit |Settings | Render View > page? > > Utkarsh > > 2010/3/1 bastil2...@yahoo.de : > >> Dear all, >

Re: [Paraview] Name query from multi-block data in Python

2010-03-01 Thread bastil2...@yahoo.de
Thanks. Can this be done from within Python? Regards Bastian Am 01.03.2010 15:10, schrieb Utkarsh Ayachit: > Alternatively you can use the vtkPVCompositeDataInformationIterator to > iterate over the blocks as well. It has a method GetCurrentName() > which can be used to obtain the name of the cur

Re: [Paraview] Linking in plugin for static build

2010-03-01 Thread Moreland, Kenneth
Wait, I just realized that's not right. I don't want to build the client application. I want to build pvserver. Can I do that by editing pvserver.cxx? But then where do I put the PV_PLUGIN_IMPORT macros? -Ken On 3/1/10 11:20 AM, "Utkarsh Ayachit" wrote: Yes, that's correct. Utkarsh On