[vtkusers] changing interactor style

Charl P. Botha c.p.botha at its.tudelft.nl
Wed May 15 06:53:27 EDT 2002


On Wed, May 15, 2002 at 12:51:15PM +0200, jmanjon wrote:
> vtkInteractorStyleTrackball * style=vtkInteractorStyleTrackball::New();
>  this->Renderer->GetRenderWindow()->GetInteractor()->SetInteractorStyle(style);

Try:
vtkInteractorStyleTrackballCamera* style = 
vtkInteractorStyleTrackballCamera::New();
then:
blah blah ->SetInteractorStyle(style)

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list