[vtkusers] difference between GetOutputPort() and GetOutput()
David Gobbi
david.gobbi at gmail.com
Fri Jan 29 12:26:52 EST 2010
I added this to the faq recently:
http://www.vtk.org/Wiki/VTK_FAQ#What.27s_the_deal_with_SetInput.28.29_vs._SetInputConnection.28.29.3F
But still, there should not be any difference in behaviour between C++
and Python with regards to these methods. Can you give an example?
David
On Fri, Jan 29, 2010 at 10:10 AM, Anders Wallin
<anders.e.e.wallin at gmail.com> wrote:
> Hi all,
> I am naively translating some C++ examples into Python, "word for
> word", and sometimes I get an error where the C++ code uses
> GetOutputPort() and Python seems happy with GetOutput() instead.
> what is the difference between GetOutputPort() and GetOutput() ?
>
> AW
> _______________________________________________
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list