[vtkusers] Make trackball interactor style default

John Wilson jpw at creare.com
Fri Jun 29 16:08:11 EDT 2001


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





More information about the vtkusers mailing list