[vtkusers] How to rotate an object after move/pan ?

de Boer Ingo I.deBoer at polytec.de
Fri Apr 30 10:17:44 EDT 2004


Hi,

I am looking for a solution for the following:
I have an object (vtkPolyData with points and
elements and stuff), a renderer, a camera, etc...
Now, I move/pan the object with the middle mouse
button. After that, the object rotates still in
the (let's say) 0,0,0 - center. My object is
somewhere 5,5,5...

I want my mouse still to do its rotate behaviour
on the center of the object and not on the center
of the window. How do I achive that?

I searched the archives without any results...

Any hints ??

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