[vtkusers] Camera Question

Erik Sobel erik.sobel at alphatech.com
Wed May 2 12:28:26 EDT 2001


How do you extract camera Yaw, Pitch and Tilt from the camera 
ViewPlaneNormal and ViewUp vectors?

Also, why does changing Pitch or Yaw effect the Roll value?  I though they 
were orthogonal?

Don't you think the VTK documentation is too comprehensive. Instead of 
helpful elucidations like...

float * vtkCamera::GetOrientationWXYZ ()
	Returns the WXYZ orientation of the camera.

Doxygen should be programmed to simply add a "Duh" for each method. Like this,

float * vtkCamera::GetOrientationWXYZ ()
	Duh.

This would save many bytes of storage without a loss of content in IMHO.

-Erik
----------------------------------------------------------------------------------------------------------
Erik Sobel
esobel at alphatech.com
----------------------------------------------------------------------------------------------------------





More information about the vtkusers mailing list