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
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
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);
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
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
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
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
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