[vtkusers] Custom filter polydata -> imagedata
david.gobbi at gmail.com
Tue Jun 23 15:07:25 EDT 2015
The use of vtkImageAlgorithm as a base class is correct. The output must
be an image, but the input can be anything.
For example, take a look at the code for vtkShepardMethod.
On Tue, Jun 23, 2015 at 12:57 PM, Bruce Jones <bruce.david.jones at gmail.com>
> I am trying to write a custom VTK filter to use with paraview. The filter
> is designed to interpolate data form an sph simulation (polydata) to a
> regular grid (imagedata). However, it is not clear to me which base class
> my filter should inherit from.
> I initially tried inheriting from vtkImageAlgorithm, the code worked and I
> was bale to load the filter in paraview, however I since have realised that
> this would only work for imagedata input + imagedata output.
> What is your recommendation for polydata input + imagedata output?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers