[vtk-developers] 3x3 rotation matrices

David Doria daviddoria+vtk at gmail.com
Sun Jan 10 12:58:31 EST 2010


In vtkTransform, there is a
vtkTransform::RotateX

However, the output of this is always 4x4:
GetMatrix(vtkMatrix4x4 *m)

Can we add a
GetMatrix(vtkMatrix3x3 *m)
that simply creates the upper left 3x3 block of the 4x4 m?

Either this or add a RotateX() (and Y and Z) to vtkMatrix3x3 directly?

Thoughts?

David



More information about the vtk-developers mailing list