<div dir="ltr">Thanks David, this was exactly the hint I needed.<div><br></div><div>Bruce</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 23 Jun 2015 at 15:07 David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The use of vtkImageAlgorithm as a base class is correct.  The output must be an image, but the input can be anything.</div><div><br></div><div>For example, take a look at the code for vtkShepardMethod.</div><a href="http://www.vtk.org/doc/nightly/html/classvtkShepardMethod.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkShepardMethod.html</a></div><div dir="ltr"><br><div class="gmail_extra"><br></div><div class="gmail_extra"> - David</div></div><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 12:57 PM, Bruce Jones <span dir="ltr"><<a href="mailto:bruce.david.jones@gmail.com" target="_blank">bruce.david.jones@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>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. </div><div><br></div><div>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.</div><div><br></div><div>What is your recommendation for polydata input + imagedata output?</div><div><br></div><div>Cheers,</div><div>Bruce</div></div></blockquote></div><br></div></div></blockquote></div>