[vtkusers] interaction

de Boer Ingo I.deBoer at polytec.de
Wed May 26 01:30:51 EDT 2004


Hi,

>    When I let the left mouse key down, I want it do not to 
> rotate,but can be scaled. What should I do? Can anyone give 
> me some examples. My mail is 

you make your own vtkInteractor, based on a given one.
Set the style to your interactor with SetInteractorStyle()
Disable rotation by overriding the virtual functions
Rotate() with '{}'
You can also combine that with OnKeyDown()

greets
  Ingo


---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255
 



More information about the vtkusers mailing list