[vtk-developers] Matrix Decomposition in vtkMath

David Gobbi dgobbi at irus.rri.on.ca
Sun May 6 21:10:37 EDT 2001


Hi All,

I've finally done proper testing of the Diagonalize3x3(),
Orthogonalize3x3() and SingularValueDecomposition3x3()
methods that I added to vtkMath several months ago.  Back
when I first wrote these, I had hoped to also provide a set
of methods for vtkLinearTransform to allow proper decomposition
of the transform into individual rotation/scale/rotation/translation
components but I never found the time to do so.

Instead, I've modified the GetOrientation() and GetScale()
methods of vtkTransform to use vtkMath::Orthogonalize3x3() and
vtkMath::SingularValueDecomposition3x3() respectively.  This will
at least ensure that the vtkMath methods get some coverage.

 - David

--
  David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario





More information about the vtk-developers mailing list