[vtkusers] Help with vtkActorCollection (correction)
Johanna
pettersson.johanna at home.se
Wed Jul 23 07:05:54 EDT 2003
Hi,
I tried to use vtkPropCollection instead, and 'ren getProps', but unfortunately it made no difference. 'allActors GetNumberOfItems' still generates a 0.
Can the error be somewhere else?
Johanna
> >Hi,
> >I am trying to use a vtkActorCollection to remove all actors in the
> rendere=
> >r. My tcl code looks like this:
> >vtkActorCollection allActors
> >set allActors [ren1 GetActors]
>
> Change to
>
> >vtkPropCollection allActors
> >set allActors [ren1 GetProps] <<HERE WAS A MISTAKE - SORRY!!!
GetProps instead of GetProp
>
> to vtkActorCollection aren't added actors and volumes
> these objects are added to vtkPropCollection
>
> michaB
>
>
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list