[vtkusers] Setting Camera Projection matrix vtk
Umer Rafi
umer.rafi at rwth-aachen.de
Tue Jun 4 09:45:10 EDT 2013
Hi Everyone,
I am new to vtk. What I want to do is to set up the camera projection matrix. For example in opengL I can set up camera's projection matrix by using the following two lines
glMatrixMode(GL_PROJECTION);
glLoadMatrixd( &frustum(0,0) );
where frustrum represents my projection matrix. I am looking for some example code to do the same in VTK. I will appreciate any sample code snippet to get me started.
Regards
Umer
More information about the vtkusers
mailing list