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 <[email protected]> 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 > [email protected] > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ ParaView mailing list [email protected] http://www.paraview.org/mailman/listinfo/paraview
