[Paraview] vtk data objects as property: how to handle that in Paraview?
Berk Geveci
berk.geveci at kitware.com
Fri Jan 30 08:41:37 EST 2009
This sounds like a poor filter design. It sounds like instead of
exposing a filter's properties through public setters and getters, the
developer bundled all of them into one property object. I'd recommend
subclassing this filter to add proper setters and getters and
including the subclass in ParaView as a plugin.
-berk
On Fri, Jan 30, 2009 at 7:24 AM, Jérôme <jerome.velut at gmail.com> wrote:
> 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
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list