Hi Fred,<br><br>Quoting from the vtkPolyDataAlgorithm doc:<br>&quot;This class also provides a FillInputPortInfo method that by default
says that all inputs will be PolyData. If that isn&#39;t the case then
please override this method in your subclass.&quot;<br><br>You will find a lot of VTK classes that override the FillInputPortInformation method. It shouldn&#39;t be too difficult.<br><br>Jerome<br><br><div class="gmail_quote">
2009/12/11 Fred Fred <span dir="ltr">&lt;<a href="mailto:stan1313@hotmail.fr">stan1313@hotmail.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
I wrote a filter inherited from vtkPolyDataAlgorithm.<br>As far as I have understood, such a filter is supposed to produce a vtkPolyData but may use any kind of dataset as input.<br>The problem is I get an error because my input is an ImageData set while a PolyData is expected.<br>
Any idea of what I missed in my code?<br><div class="hm"><br>                                               <br><hr>PC, téléphones portables, souris hi-tech. à gagner grâce à Hotmail ! <a href="http://www.hotmailmagicmoment.com" target="_blank">C&#39;est ici !</a></div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>