[vtkusers] Make trackball interactor style default

Matjaz Subelj matjaz at lecad.uni-lj.si
Sat Jun 30 01:44:06 EDT 2001


Name vtkInteractorStyleTrackball is a bit misleading. It has both
trackball and joystick mode and defaults to joystick. It was used in 
vtk 3.1 and is now kind of obsolete. Anyway, the easiest
way to get trackball mode is

iren GetInteractorStyle OnChar 0 0 t 1

Matjaz


John Wilson wrote:
> 
> I'd like to have the default style for vtkRenderWindowInteractor set at
> trackball.  I've tried to do this with the following:
> 
> -----------------
> 
> vtkInteractorStyleTrackball interStyle
> 
> vtkRenderWindowInteractor iren
>     iren SetRenderWindow renWin
>     iren SetUserMethod {wm deiconify .vtkInteract}
>     iren SetPicker picker
>     iren LightFollowCameraOn
>     iren SetInteractorStyle interStyle
>     iren Initialize
> 
> ------------------
> 
> But this doesn't work.  Any insight?
> 
> Thanks -
> 
> John
> 
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list