[vtkusers] vtkInteractorStyleTrackball

Florian Schmidt mista.tapas at gmx.net
Fri Dec 6 06:46:52 EST 2002


On Thu, 05 Dec 2002 22:21:31 -0500
Eric Damphousse <ericdamphousse at darwingroup.net> wrote:

> Hi,
> 
> I am quite new to the VTK (which I find really really nice, btw) have 
> ordered the user guide but being somewhat impatient, I was wondering
> if someone has an example of how to use the
> vtkInteractorStyleTrackball in C++.
> 


hhmm, what do you mean by "use"? Say Interactor is your pointer to the
vtkRenderWindowInteractor. Then all you have to do is:

vtkInteractorStyleTrackball * Style =
vtkInteractorStyleTrackball::New();
Interactor->SetInteractorStyle(Style);

(untested example)..

-- 
mista.tapas at gmx.net
http://mistatapas.ath.cx
http://www.arted.biz/mista.tapas



More information about the vtkusers mailing list