[vtkusers] Recreating the camera behavior Paraview

Tijmen Klein T.R.Klein at student.rug.nl
Fri Sep 2 04:58:41 EDT 2011


This is still an open issue to me. Is there anyone who knows more about this
subject?

Tijmen

On Mon, Jul 18, 2011 at 3:44 PM, Tijmen Klein <T.R.Klein at student.rug.nl>wrote:

> 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/20110902/e127b7a4/attachment.htm>


More information about the vtkusers mailing list