Hi,<br><br>By using blibli->SetInputConnection( blabla->GetOutputPort( )) instead of old fashioned-methods, the error regarding missing connections disappears. However, errors remain : "vtkGraphAlgorithm returned failure for request". I didn't look at it.<br>
<br>BTW, I didn't understand the FillInputPortInformation implementation in your code. Why do you test the Superclass method before filling your information?<br><br>Jerome<br><br><div class="gmail_quote">2009/11/16 David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></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><div></div><div class="h5"><div class="gmail_quote">On Sat, Nov 14, 2009 at 5:26 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com" target="_blank">daviddoria+vtk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
(warning - crosspost. This was on the devel list a week ago with no resolution).<br><br>I am trying to make a filter that takes a vtkPolyData as input and produces a vtkGraph as output:<br>
<a href="http://rpi.edu/%7Edoriad/VTK_List/vtkNearestNeighborGraph/" target="_blank">http://rpi.edu/~doriad/VTK_List/vtkNearestNeighborGraph/</a><br>
<br>
I get a bunch of these errors that make it look like I have not set an input:<br>
vtkStreamingDemandDrivenPipeline (0x89d60a0): Input port 0 of<br><div>
algorithm vtkGraphToPolyData(0x89d5ac8) has 0 connections but is not optional.<br>
<br>but as far as I can tell I have set all the connections properly. Can anyone see something I have done wrong?<br>
<br>
Thanks,<font color="#888888"><br><br>David<br></font></div>
</blockquote></div><br></div></div>Is this a valid thing to do? Have a filter with input PolyData and output Graph?<br><br clear="all">Thanks,<br><font color="#888888"><br>David<br>
<br>
</font><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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>