[vtkusers] Custom filter polydata -> imagedata
bruce.david.jones at gmail.com
Tue Jun 23 15:22:25 EDT 2015
Thanks David, this was exactly the hint I needed.
On Tue, 23 Jun 2015 at 15:07 David Gobbi <david.gobbi at gmail.com> wrote:
> 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.
> - David
> On Tue, Jun 23, 2015 at 12:57 PM, Bruce Jones <bruce.david.jones at gmail.com
> > wrote:
>> 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