[vtk-developers] incorrect docs in vtkCamera??

John Platt jcplatt at lineone.net
Thu Jul 7 04:17:30 EDT 2005


Hi Clint,

vtkCamera.cxx states that the perspective transform matrix is used in
converting between view and world coordinates. Since the camera view
transform is not aware of the viewport, I'd guess you're right on the
composite transform.

While we're on camera docs ... the .h file for Elevation() states

Rotate the camera about the cross product of the direction of projection
and the view up vector centered on the focal point.

and the .cxx file

Rotate the camera about the cross product of the NEGATIVE of the
direction of projection and the view up vector centered on the focal
point.

I believe the .cxx is correct.

Hope these corrections make to the latest docs.

John.

-----Original Message-----
From: vtk-developers-bounces+jcplatt=lineone.net at vtk.org
[mailto:vtk-developers-bounces+jcplatt=lineone.net at vtk.org] On Behalf Of
Clinton Stimpson
Sent: 06 July 2005 22:41
To: VTK Developers
Subject: [vtk-developers] incorrect docs in vtkCamera??


The docs for vtkCamera::GetCompositePerspectiveTransformMatrix say that 
the matrix will convert from world to viewport coordinates.  Is that 
actually be from world to view?

Clint


_______________________________________________
vtk-developers mailing list
vtk-developers at vtk.org
http://www.vtk.org/mailman/listinfo/vtk-developers





More information about the vtk-developers mailing list