Hi Fred,
Quoting from the vtkPolyDataAlgorithm doc:
This class also provides a FillInputPortInfo method that by default says
that all inputs will be PolyData. If that isn't the case then please
override this method in your subclass.
You will find a lot of VTK classes that override the
FillInputPortInformation method. It shouldn't be too difficult.
Jerome
2009/12/11 Fred Fred stan1...@hotmail.fr
I wrote a filter inherited from vtkPolyDataAlgorithm.
As far as I have understood, such a filter is supposed to produce a
vtkPolyData but may use any kind of dataset as input.
The problem is I get an error because my input is an ImageData set while a
PolyData is expected.
Any idea of what I missed in my code?
--
PC, téléphones portables, souris hi-tech. à gagner grâce à Hotmail ! C'est
ici ! http://www.hotmailmagicmoment.com
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview