[vtkusers] Algorithm base class question

Amy Squillacote ahs at cfdrc.com
Mon Oct 27 11:28:48 EDT 2008


Hi Benjamin,

You could create a vtkPointSetAlgorithm and override its 
FillInputPortInformation method so that it takes a vtkMultiBlockDataSet 
rather than a vtkPointSetAlgorithm. Take a look at how this method is 
overridden in VTK/Graphics/vtkThreshold.cxx.

- Amy

Benjamin Schindler wrote:
> Hi
>
> I'm writing for testing a filter that takes a MultiBlockDataSet and
> outputs a PointSet. What base-class is most suitable for this kind of
> filter? I looked at PointSetAlgorithm, but the doc says it must also
> take a PointSet as input... 
>
> Thanks
> Benjamin
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>   

-- 
Amy Squillacote                    Phone: (256) 726-4839
Computer Scientist                 Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805





More information about the vtkusers mailing list