[vtkusers] Recreating the camera behavior Paraview
Tijmen Klein
T.R.Klein at student.rug.nl
Mon Jul 18 09:44:49 EDT 2011
I'm not sure if I should post this in the VTK or Paraview mailinglist, but
since I'm trying to achieve something in VTK, I decided that posting it here
is more relevant.
I am trying to recreate the camera (rotation) behavior of Paraview in VTK.
When there are multiple sources in Paraview (for example: a Box and a Cone),
then these sources always seem to rotate around the origin of the scene.
When the camera is panned (middle-mouse or shift + right mouse), a rotation
(left mouse) still results in a rotation around the origin of the scene.
However, in VTK this behavior is different. In the case
of vtkInteractorStyleTrackballCamera, after a pan of the camera, the scene
seems to rotate around the focal point of the camera (instead of the origin
of the scene). This makes the rotating behavior counter-intuitive (for my
application).
vtkInteractorStyleTrackballActor could work for this, but only with 1 Actor.
When there are more actors, it only allows to modify 1 object at the same
time.
(How) is it possible to recreate the Paraview camera behavior in VTK?
Tijmen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110718/c89c01d3/attachment.htm>
More information about the vtkusers
mailing list