<div class="gmail_quote">On Mon, Nov 16, 2009 at 4:08 PM, Jérôme <span dir="ltr">&lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt;</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;">
Hi,<br><br>By using blibli-&gt;SetInputConnection( blabla-&gt;GetOutputPort( )) instead of old fashioned-methods, the error regarding missing connections disappears. However, errors remain : &quot;vtkGraphAlgorithm returned failure for request&quot;. I didn&#39;t look at it.<br>

<br>BTW, I didn&#39;t understand the FillInputPortInformation implementation in your code. Why do you test the Superclass method before filling your information?<br><br>Jerome<br><br></blockquote><div><br>Jerome,<br><br>
I changed SetInput(...GetOutput()) to SetInputConnection(...GetOutputPort()) but I still get a bunch of these errors:<br> <br></div><div>vtkStreamingDemandDrivenPipeline (0x8eede78): Algorithm
vtkGraphAlgorithm(0x8eebee8) returned failure for request:
vtkInformation (0x8ee9ef0)<br>
<br>The FillInputPortInformation I had just taken from another filter - I don&#39;t know what that part was doing either. I removed it. The updated files are here:<br><a href="http://www.rpi.edu/~doriad/VTK_List/vtkNearestNeighborGraph/">http://www.rpi.edu/~doriad/VTK_List/vtkNearestNeighborGraph/</a><br>
<br clear="all">Thanks,<br><br>David<br> 
<br></div></div><br>