[vtkusers] vtkCubeAxesActor2D

Gopalakrishnan, Gowri Gowri.Gopalakrishnan at inteq.com
Thu May 16 04:08:28 EDT 2002


Thanks, I was doing renderer->GetActors and it was not picking up the 2d
actor. Now I use both renderer->GetActors and GetActors2D and it works.
I shall try your suggestion for the wire frame and post my results.

Thanks again
Gowri


-----Original Message-----
From: Prabhu Ramachandran [mailto:prabhu at aero.iitm.ernet.in] 
Sent: 16 May 2002 08:16
To: Gopalakrishnan, Gowri
Cc: 'vtkusers at public.kitware.com'
Subject: [vtkusers] vtkCubeAxesActor2D

>>>>> "GG" == Gowri Gopalakrishnan <Gopalakrishnan> writes:

    GG> How is vtkCubeAxesActor2D added to the renderer and how can I
    GG> get hold of it as an actor (for removing purpose...)

a2c = renderer.GetActors2D()
print a2c.GetNumberOfItems()
a2c.InitTraversal()
a2 = []
for i in range(a2c.GetNumberOfItems()):
  a2.append(a2c.GetNextItem())


prabhu



More information about the vtkusers mailing list