dtUtil::PolarDecomp Class Reference

PolarDecomp is a class that will take a 4x4 Matrix and break it up into the following components Rotation, Scale, and Translation. More...

#include <polardecomp.h>

List of all members.

Static Public Member Functions

static float Decompose (const osg::Matrix &M, osg::Matrix &Q, osg::Matrix &S, osg::Vec3 &T)
 Find Polar Decomposition of Matrix M: Q=Rotation, S=Scale/Stretch, T=Translation.


Detailed Description

PolarDecomp is a class that will take a 4x4 Matrix and break it up into the following components Rotation, Scale, and Translation.

Member Function Documentation

float PolarDecomp::Decompose ( const osg::Matrix &  M,
osg::Matrix &  Q,
osg::Matrix &  S,
osg::Vec3 &  T 
) [static]

Find Polar Decomposition of Matrix M: Q=Rotation, S=Scale/Stretch, T=Translation.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008