[Paraview] vtk data objects as property: how to handle that in Paraview?

Jérôme jerome.velut at gmail.com
Fri Jan 30 07:24:27 EST 2009


Hi,

Some VTK filters, such as vtkImageReslice, have vtkImageData as
property. This is not really an input, just an object than may give
information about, for example, spacing, extent, data type, etc.
What is the property to be used in a paraview XML plugin file ? I
wondered about ProxyProperty, but I am not sure how to use it in the
case of vtkImageReslice.

In other words, when a VTK filter has accessor like:
vtkSetMacro( Information, vtkImageData* );

What is the XML corresponding? Maybe that:
<ProxyProperty name="Information"
                         command="SetInformation"
                          ... >
When to tell this is an image data ? How the user can give the image
data to the proxy ? As the InputProperty is linked to the
vtkAlgorithmOutput type, it cannot be used in this case...


Thank you!

Jerome


More information about the ParaView mailing list