[vtkusers] difference between GetOutputPort() and GetOutput()

circass circass at gmail.com
Sat Jan 30 03:06:39 EST 2010


GetOutput returrns imageData* and getOutputPort returns ImageDataAlgorithm as
i remember. 
So this is not about phyton or C++ there must be some kind of change in your
code or the C++ code can be wrong at the first place. But be carefull about
filters and filter input parameters.
Good Luck


Anders Wallin-2 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
> 
> 

-- 
View this message in context: http://old.nabble.com/difference-between-GetOutputPort%28%29-and-GetOutput%28%29-tp27375148p27381813.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list