With SetInput it accepts ImageData as input while if you opt for SetInputConnection it will need vtkAlgorithmOutput.<br>Hope it helps. Would be quick enough if you could post the code. <br><br>P.S. I have VTK-5.6 installed on my machine.<br>
<br><div class="gmail_quote">On Wed, Jul 14, 2010 at 9:40 AM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">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;">
<div class="im">On Wed, Jul 14, 2010 at 3:33 PM, Jothy <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
> Can you post your code?<br>
><br>
> Jothy<br>
><br>
> On Wed, Jul 14, 2010 at 2:30 PM, Liam Kurmos <<a href="mailto:quantum.leaf@googlemail.com">quantum.leaf@googlemail.com</a>><br>
> wrote:<br>
>><br>
>> Hi All,<br>
>><br>
>> I want to smooth some 3D image data with vtkImageGaussianSmooth, but i<br>
>> can't seem to connect the pipeline. The filter wants a<br>
>> vtkAlgorithmOutput* as input but i don't know how to get one for a<br>
>> vtkImageData.<br>
>><br>
>> the example in the wiki uses vtkImageCanvasSource2D->GetOutputPort()<br>
>> which isnt what i want.<br>
>> How should i connect these two? also if there is a way i could have<br>
>> found this out (other than asking) i'd be very grateful if you can let<br>
>> me know.<br>
>><br>
>> cheers,<br>
>><br>
>> Liam<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
<br>
</div>Are you using SetInput or SetInputConnection. As Jothy said, it would<br>
be best if you could post your code. Also, which version of VTK are<br>
you using?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
David<br>
</font><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Preeti Bindu<br><br>