Re: [Paraview] Ongoing Work to Release Unused Memory from Pipeline

2011-07-08 Thread Jérôme
I don't know if it applies to your pipelines, but each time I write an XML ServerManager to expose a VTK filter in ParaView, I add a ckeckbox for the vtkAlgorithm's function ReleaseDataFlag : IntVectorProperty name=ReleaseDataFlag

[Paraview] vtkSMIntVectorProperty number of elements

2011-07-08 Thread papa ndéné NDIAYE
Hi, all I have built a Toolbar plugin in paraview with a button that applies extractblock filter to a multiblock dataset so as to get all the blocks seperately in different objects in the pipeline browser. I achieve getting the number of blocks from the selected multiblock but I don't know how to

Re: [Paraview] vtkSMIntVectorProperty number of elements

2011-07-08 Thread Biddiscombe, John A.
this snippet may help you QListQVariant blocks; vtkPVCompositeDataInformation *pvcdi = out-GetDataInformation()-GetCompositeDataInformation(); QListQVariant blocks; int N = pvcdi-GetNumberOfChildren(); for (int i=0; iN; i++) { if (...) blocks.append(i+1);

Re: [Paraview] vtkSMIntVectorProperty number of elements

2011-07-08 Thread papa ndéné NDIAYE
Great thanks JB, that fits well 2011/7/8 Biddiscombe, John A. biddi...@cscs.ch *this snippet may help you * * * * QListQVariant blocks;* * vtkPVCompositeDataInformation *pvcdi = out-GetDataInformation()- GetCompositeDataInformation();* * QListQVariant

[Paraview] Remove Input Connections

2011-07-08 Thread Jorge Peña
Hi all, I have being trying to remove an input from a filter with multi-inputs without succes. My filter.xml is as follows: SourceProxy name=MyFilter class=vtkMyFilter label=MyFilter InputProperty name=Input port_index=0 immediate_update=1

Re: [Paraview] Interesting bug when using windbladereader and multiple time steps

2011-07-08 Thread Andy Bauer
Ok, I'm able to replicate the bug. The test file I have ( http://vtk.org/gitweb?p=VTKLargeData.git;a=tree;f=Data/WindBladeReader;h=3459e8ded59eb05796e922d90200bd4e83231df0;hb=HEAD) only has 2 time steps so I may need another set of files from you with more time steps. Playing around with the

Re: [Paraview] Interesting bug when using windbladereader and multiple time steps

2011-07-08 Thread Sohail Shafii
Thank you for looking into this. I only modified the windbladereader to handle a slight format change, so my knowledge here is a bit limited (in regards to its original design) but I'll help out when necessary.  From what I see there are two outputs (one field, one blade).  I guess the nice

Re: [Paraview] Interesting bug when using windbladereader and multiple time steps

2011-07-08 Thread Andy Bauer
3 or 4 time steps should be fine. Thanks, Andy On Fri, Jul 8, 2011 at 1:18 PM, Sohail Shafii sohailsha...@yahoo.comwrote: Thank you for looking into this. I only modified the windbladereader to handle a slight format change, so my knowledge here is a bit limited (in regards to its original