[vtkusers] retrieving object class type....

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Apr 16 12:14:50 EDT 2009


You can use GetClassName to get the class name for the object returned.

On Thu, Apr 16, 2009 at 8:40 AM, Giancarlo Amati
<ilferraresebono at hotmail.it> wrote:
> Hello everybody,
>
> I have this problem: i have a vtkActorCollection list which refers to a set
> of actor displaied in my window.
> I wonder if there is a way of retrieving the class type they belongs, I
> mean.....
>
> if I have a
>
> vtkActor obj and
> vtkImageActor img
>
> how can I understand from the vtkActorCollection what kind of objects i get
> using the GetNextItem()?
>
> Kind Regards.
> Giancarlo
>
> ________________________________
> Dillo con le Emoticon! Scarica il nuovo Messenger 2009
> _______________________________________________
> 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