[vtkusers] Confusion about GetOutputPort and GetOutput
Eugen Wintersberger
eugen.wintersberger at jku.at
Fri Mar 6 08:45:22 EST 2009
Hi there
its me again. I just had a look in "The Visualization Toolkit ....".
The book states that the usage of SetInput and GetOutput is highly
discouraged for VTK versions higher then 5.0. I use VTK 5.0.4 on an
Ubuntu 8.10 AMD64 installation. If I write my program using SetInput -
GetOutput I can easily access different attribute data from a dataset by
passing the index of the attribute data as an argument to the GetOutput
method of a dataset class. If I use, as recommended the GetOutputPort I
cannot use the index of attribute data. Can anyone explain me why this
is in this way or do I make a conceptual mistake?
regards
Eugen
--
--------------------------------------------
| |
| Dipl. Ing. Eugen Wintersberger |
| Department of semicondutor physics |
| University of Linz |
| Altenbergerstrasse 69 |
| A-4040 Linz |
| Austria |
| |
| Mobile.: +43 664 3112861 |
| Tel.: +43 732 2468 9605 |
| E-Mail.: eugen.wintersberger at jku.at |
| Skype: eugen20056221 |
| ICQ: 214418739, nickname: thot |
| |
--------------------------------------------
More information about the vtkusers
mailing list