[Paraview] Announcement: Self-contained Python module to write binary VTK files.

2010-11-29 Thread Paulo Herrera
Hello everyone, This is my first post to this list. I would like to announce the first release of a Python module I wrote to export scientific data to binary VTK files. The source code for the module can be downloaded from its Mercurial repository at bitbucket. To get a copy, type on terminal

Re: [Paraview] Announcement: Self-contained Python module to writebinary VTK files.

2010-11-29 Thread OLESEN Mark
hg clone https://pau...@bitbucket.org/pauloh/pyevtk After cloning the repository, I don't find any of the C source files. $ hg status -A C .hgtags C MANIFEST C README.txt C dev.py C setup.py C src/LICENSE C src/__init__.py C src/cevtk.pyx C src/examples/__init__.py C src/examples/group.py C

[Paraview] BUG in vtkPVDataSetAttributesInformation on Linux ?

2010-11-29 Thread R M
Hi, I use paraview 3.9.0 on a Centos 5 32 bits and also Windows XP. Here' my problem. I have developed a plugin with temporal data and with windows XP it works. But under linux I have a crash of paraview during some time step change. In Debug I have the following error message:

Re: [Paraview] GUI bug: Error message when moving the cursor on the menu bar

2010-11-29 Thread Richard GRENON
Hi, Pat. I am using the PV 381 Windows version with Vista Home Premium SP2 on a Toshiba Satellite X200 laptop with a Synaptics Touchpad. No mouse is connected and I did not use any Windows accessibility feature. The bug occurs both when I click on the left button of the touchpad or when I

Re: [Paraview] BUG in vtkPVDataSetAttributesInformation on Linux ?

2010-11-29 Thread Utkarsh Ayachit
That check should be fixed. In any case, you should ensure that your filter/reader names all arrays it produces. Unnamed arrays are not recognized by ParaView. Utkarsh On Mon, Nov 29, 2010 at 7:40 AM, R M mlok...@yahoo.fr wrote: Hi, I use paraview 3.9.0 on a Centos 5 32 bits and also Windows

[Paraview] Re : BUG in vtkPVDataSetAttributesInformation on Linux ?

2010-11-29 Thread R M
Your're right ! I was so used to test my files that I had forgotten to set a name to one of my arrays. Thanks ! De : Utkarsh Ayachit utkarsh.ayac...@kitware.com À : R M mlok...@yahoo.fr Cc : paraview@paraview.org Envoyé le : Lun 29 novembre 2010, 15h 35min

Re: [Paraview] Linking problems when compiling ParaView 3.8.1 with OpenMPI 1.4.3 and Python 2.7

2010-11-29 Thread Dave Partyka
Hi Nenad, Sorry for not replying, Utkarsh just pointed your email out to me. Let me give this a try to see if I can recreate the problem. On Tue, Nov 23, 2010 at 6:00 PM, Nenad Vujicic nena...@gmail.com wrote: Hello everyone, I tried to compile ParaView 3.8.1 with BUILD_SHARED_LIBS,

Re: [Paraview] slice filter

2010-11-29 Thread Xian Sperber
My data were polydata although the vertices were organised as points instead of 'real' polygones. After connecting these points through squares I was able to apply the slice filter. Thanks, xian On 25 November 2010 16:24, Andy Bauer andy.ba...@kitware.com wrote: Hi Xian, Please reply to

Re: [Paraview] Linking problems when compiling ParaView 3.8.1 with OpenMPI 1.4.3 and Python 2.7

2010-11-29 Thread Nenad Vujicic
Dear Dave, On Mon, Nov 29, 2010 at 4:45 PM, Dave Partyka dave.part...@kitware.com wrote: Hi Nenad, Sorry for not replying, Utkarsh just pointed your email out to me. Let me give this a try to see if I can recreate the problem. Thank You very much for Your help. It seems I made little mistake

[Paraview] ANN: ParaView 3.10 branch VTK 5.8 branch

2010-11-29 Thread Dave Partyka
Hello all, We will be branching ParaView and VTK for their respective releases soon (probably this week). This is a heads up that finished features, bug fixes, etc., that are a part of these releases should be merged in the coming days. Once the branches are created any further changes that need

[Paraview] vtkTable and LineChart

2010-11-29 Thread Michael Jackson
I have some XY data that I would like to plot in ParaView. I currently have a plugin that reads the data from our HDF5 file and into vtkTable objects. Along the lines of a Line Chart 101 question how do I programmatically set the x-axis and y-axis columns? Thanks

Re: [Paraview] vtkTable and LineChart

2010-11-29 Thread pat marion
Hi Mike, I'm not up to speed with the current chart api so I can't answer your question... but maybe you could try doing it in the gui with python trace enabled, then translate the generated python code into c++ for your plugin? Customizing the chart should be a matter of setting properties on

Re: [Paraview] vtkTable and LineChart

2010-11-29 Thread Michael Jackson
Thanks for the idea. I was trying to figure out the flow from reading the data into displaying the data hoping to reveal some sort of default or something. I was going to generate some fake CSV data and see how that reader does things hoping the CSV reader takes the first column as the

Re: [Paraview] vtkTable and LineChart

2010-11-29 Thread pat marion
I think by default it will plot a line for each column in the table. It will use the cell value as the Y value, and the row index as the X value. To change the behavior, you have to change two representation properties: rep.UseIndexForXAxis = 0 rep.XArrayName = 'foo' This will plot all all

Re: [Paraview] vtkTable and LineChart

2010-11-29 Thread Michael Jackson
Thanks for more info. I do in fact have Time for one of my plots so that is easy to achieve. I just had to correctly set the name of the column from Time Values to Time and that should work. The other plots probably are more difficult at this point. I have Stress/Strain data where I need

Re: [Paraview] vtkTable and LineChart

2010-11-29 Thread pat marion
That's correct, the data objects at the vtk level cannot influence how the chart will be displayed. It all happens in the gui servermanager level, at the proxy level. Are you at least able to see your data in the XY Line Chart? It only takes two clicks in the Display tab to assign the X axis.

Re: [Paraview] vtkTable and LineChart

2010-11-29 Thread Michael Jackson
Yes, I can see the data in ParaView after I mess around digging in the Display tab, clicking some checkbox, taking guess about what needs to be enabled/disabled.. I was hoping my use-case would fall into the Default use case where the first column represented the x-axis and subsequent

Re: [Paraview] Proper Way to Include Plugins in ParaView 3.8 and beyond

2010-11-29 Thread Dave Partyka
In the file PARAVIEW_EXTERNAL_PLUGINS_FILE points to you can just enumerate all your plugins like so paraview_build_optional_plugin(Plugin1 My Plugin 1 /some/source/dir ON) paraview_build_optional_plugin(Plugin2 My Plugin 2 /some/other/source/dir ON) On Mon, Nov 29, 2010 at 5:27 PM, Michael

Re: [Paraview] Proper Way to Include Plugins in ParaView 3.8 and beyond

2010-11-29 Thread Michael Jackson
Lets try this again, from an even higher perspective: I have several git repositories. Each one holds a plugin project for paraview. They are: PVMXA PVDislocation PVOIM The three projects are independent. Usually I would set PARAVIEW_EXTRA_EXTERNAL_MODULE to PVMXA;PVOIM;PVDislocation and

Re: [Paraview] vtkTable and LineChart

2010-11-29 Thread pat marion
Take a look at pqChartRepresentation::setDefaultPropertyValues(). See where the x_array variable is assigned, and then the magic happens here: if (!x_array.isEmpty()) { vtkSMPropertyHelper(proxy, XArrayName).Set(x_array.toAscii().data()); vtkSMPropertyHelper(proxy,

Re: [Paraview] vtkTable and LineChart

2010-11-29 Thread pat marion
So in pqChartRepresentation::setDefaultPropertyValues() we have a pointer to the vtkSMRepresentationProxy. This object will have a proxy property named Input which leads to a vtkSMSourceProxy pointer. This will be the source proxy for the vtk filter that is producing the table data. Maybe we

Re: [Paraview] pvserver not rendering when built with osmesa (MPI disabled)

2010-11-29 Thread pat marion
You could try again with mesa 7.6.1, I know that version works. I think there was a problem with mesa since from that version through 7.8, but I think it is fixed in mesa's current development source. I thought the problem manifested itself as a crash though, not a hang. Hopefully someone else

Re: [Paraview] pvserver not rendering when built with osmesa (MPI disabled)

2010-11-29 Thread Dave Partyka
I just tried out the newly released 7.9 version last week and that one worked fairly well for me. It appears to contain the fixes to make_current that plagued 7.7/7.8. On Mon, Nov 29, 2010 at 7:05 PM, pat marion pat.mar...@kitware.com wrote: You could try again with mesa 7.6.1, I know that