[vtk-developers] set Camera parameters from 4x4 matrix

Shayan Ravaynia paoloshayan at alice.it
Sun Apr 27 11:50:36 EDT 2014


Hi,


If have a 4x4 matrix that describes rotation and translation of the camera then how can I compute the camera position, focal point, up vector, and viewing angle parameters from the matrix ? 
Please if is possible write here a small example ! I’m using Python code.

thanks 

Paolo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20140427/03b04f5d/attachment.html>


More information about the vtk-developers mailing list