[vtkusers] camera position

vidyadhar vidyadhar at lucidindia.net
Fri Aug 26 00:07:27 EDT 2005


Hi,
Add an observer on the renderer for StartEvent and ResetCameraEvent. In the
callback you can get reference to the active camera of renderer and dump its
setting using the Get methods for focal point, position and viewup
direction.
HTH
Vidyadhar
----- Original Message -----
From: "Peter" <meancity at gmail.com>
To: <vtkusers at vtk.org>
Sent: Thursday, August 25, 2005 2:49 PM
Subject: [vtkusers] camera position


Dear All,

after rendering some 3D objects, then i click in the the window. so
the 3D object rotates. my question is

is it possible to print out the updated active camera position
interactively.

means when i click to rotate the objects, then the camera position
will printed in the command line window.

Thank you if u could help on this ...


Yours
Pan





More information about the vtkusers mailing list