[Paraview] Finding the Input Array for A Module

Berk Geveci berk.geveci at gmail.com
Fri Jun 30 10:32:25 EDT 2006


> Your explaination is perfectly clear; thanks! Is this information in a
> book
> or the doxygen docs? Do do plan to publish "The Collected Wisdom of Berk"?


SetInputArrayToProcess stuff is new to VTK 5.0. I don't know if it was
included in the VTK User's Guide. If not, it should eventually. I wish I had
time to write a collected wisdom book :-) It would probably contain more
about musical instruments than VTK though. There is also documentation in
doxygen. Look at vtkAlgorithm.


> Can the ParaView GUI make use of this multiple-input feature? That is,
> provide two pull-downs to select two variables where both are sent to
> SetInputArrayToProcess(). I didn't see how and so the widget that selects
> the 2nd input sends it to a method in my new module created for this
> purpose.


There seems to be. vtkPVArrayMenu has an attribute called
input_attribute_index that defaults to 0. It is not used anywhere but it
should work. You should be able to use 2 array menus with different
attribute indices.

-Berk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060630/db1f4c24/attachment.html


More information about the ParaView mailing list