[vtkusers] Question on manual configuration of VTK camera

dev work2compilation at gmail.com
Thu Dec 8 12:17:19 EST 2011


Hi everyone,

I had to configure the VTK camera manually. So for that I have the external
matrices and internal.
As I far as I understand I have to configure three main method of vtkCamera
class:

*1-SetPosition( , , )
2-SetFocalPoint( , , )
3-SetViewUp ( , , )*

My external matrices are:

*Rotation:*
 0.016   -0.990    0.142
-0.980   -0.044   -0.192
 0.197   -0.136   -0.971

*Translation:*
  0.054
 -0.725
  3.794
  1.000

*Now I have two questions *:
1-How can I use this external matrices to configure the three methods?
2-These methods are enough to configure the camera manually, or should I
configure others?

Could you help me please? I'm stuck on this since several days.

I thank you for your attention

Cheers

--
View this message in context: http://vtk.1045678.n5.nabble.com/Question-on-manual-configuration-of-VTK-camera-tp5059478p5059478.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list