[vtkusers] Changing modes (actor/camera) programmatically

Shyam Prakash ramakrishna.prakash at quest-global.com
Wed Dec 17 01:59:04 EST 2003


Look at the classes vtkInteractorStyleTrackball(/Joystick)Camera(/Actor)


You can set the style using 

Iren.SetInteractorStyle(new vtkInteractorStyleTrackballCamera()) or
whatever

Iren is vtkRenderWindowInteractor object. Code is in java

--Shyam

> -----Original Message-----
> From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] On Behalf
Of
> Rahul Goela
> Sent: Wednesday, December 17, 2003 12:14 PM
> To: vtkusers at vtk.org
> Subject: [vtkusers] Changing modes (actor/camera) programmatically
> 
> Hi Vtk users,
> 
> IS there any way to programatically change the mode
> frmo camera (default) to actor. Manually this is done
> by using key a/c to toggle between the modes.
> 
> Any help regarding this would be greatly appreciated.
> 
> thanks and regards,
> 
> rahul
> 
>
________________________________________________________________________
> Yahoo! India Mobile: Download the latest polyphonic ringtones.
> Go to http://in.mobile.yahoo.com
> _______________________________________________
> 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