[vtkusers] vtkPropAssembly and vtkInteractorStyleTrackballActor

Paulo Henrique Junqueira Amorim paulojamorim at gmail.com
Tue Jan 13 11:26:30 EST 2009


Hi,

I need to use vtkInteractorStyleTrackballActor with the vtkPropAssembly but
the interaction with the actor does not work.

My real problem to make vtkActor and vtkActor2D, only one vtkActor.


Part of the Code:

        prop = vtk.vtkPropAssembly()
        prop.AddPart(actor_2D)
        prop.AddPart(actor_3D)

        render.AddActor(prop)

        style = vtk.vtkInteractorStyleTrackballActor()
        interator.SetInteractorStyle(style)



Regards,
Paulo Amorim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090113/1cda9af3/attachment.htm>


More information about the vtkusers mailing list