Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::Matrix Class Reference

Inheritance diagram for osg::Matrix:

osg::TransformationMatrix< Real32 > List of all members.

Public Types

typedef VectorInterface< Real32,
VecStorage4< Real32 > > 
VectorType
typedef QuaternionBase< ValueTypeQuaternionType
typedef VectorInterface< Real32,
VecStorage3< Real32 > > 
VectorType3f
typedef PointInterface< Real32,
VecStorage3< Real32 > > 
PointType3f

Public Member Functions

TransformationMatrix (void)
 TransformationMatrix (const TransformationMatrix &source)
 TransformationMatrix (const VectorType3f &vector1, const VectorType3f &vector2, const VectorType3f &vector3)
 TransformationMatrix (const VectorType3f &vector1, const VectorType3f &vector2, const VectorType3f &vector3, const VectorType3f &vector4)
 TransformationMatrix (const Real32rVal00, const Real32rVal10, const Real32rVal20, const Real32rVal30, const Real32rVal01, const Real32rVal11, const Real32rVal21, const Real32rVal31, const Real32rVal02, const Real32rVal12, const Real32rVal22, const Real32rVal32, const Real32rVal03, const Real32rVal13, const Real32rVal23, const Real32rVal33)
*void setIdentity (void)
void setValue (const TransformationMatrix &mat)
void setValue (const VectorType3f &vector1, const VectorType3f &vector2, const VectorType3f &vector3)
void setValue (const VectorType3f &vector1, const VectorType3f &vector2, const VectorType3f &vector3, const VectorType3f &vector4)
void setValue (const Real32rVal00, const Real32rVal10, const Real32rVal20, const Real32rVal30, const Real32rVal01, const Real32rVal11, const Real32rVal21, const Real32rVal31, const Real32rVal02, const Real32rVal12, const Real32rVal22, const Real32rVal32, const Real32rVal03, const Real32rVal13, const Real32rVal23, const Real32rVal33)
void setValue (const Real32 *pMat, bool bTransposed=true)
void setValue (const VectorType *pMat)
void setValue (const VectorType3f *pMat)
void setValue (const Char8 *string, bool bTransposed=true)
void setValueTransposed (const Real32rVal00, const Real32rVal01, const Real32rVal02, const Real32rVal03, const Real32rVal10, const Real32rVal11, const Real32rVal12, const Real32rVal13, const Real32rVal20, const Real32rVal21, const Real32rVal22, const Real32rVal23, const Real32rVal30, const Real32rVal31, const Real32rVal32, const Real32rVal33)
*Real32getValues (void)
const Real32getValues (void) const
*void setScale (const Real32s)
void setScale (const Real32sx, const Real32sy, const Real32sz)
void setScale (const VectorType3f &s)
void setTranslate (const Real32tx, const Real32ty, const Real32tz)
void setTranslate (const VectorType3f &t)
void setTranslate (const PointType3f &t)
void setRotate (const QuaternionType &q)
void setTransform (const VectorType3f &t)
void setTransform (const QuaternionType &r)
void setTransform (const VectorType3f &t, const QuaternionType &r)
void setTransform (const VectorType3f &t, const QuaternionType &r, const VectorType3f &s)
void setTransform (const VectorType3f &t, const QuaternionType &r, const VectorType3f &s, const QuaternionType &so)
void setTransform (const VectorType3f &translation, const QuaternionType &rotation, const VectorType3f &scaleFactor, const QuaternionType &scaleOrientation, const VectorType3f &center)
*void getTransform (VectorType3f &translation, QuaternionType &rotation, VectorType3f &scaleFactor, QuaternionType &scaleOrientation, const VectorType3f &center) const
void getTransform (VectorType3f &translation, QuaternionType &rotation, VectorType3f &scaleFactor, QuaternionType &scaleOrientation) const
bool factor (TransformationMatrix &r, VectorType3f &s, TransformationMatrix &u, VectorType3f &t, TransformationMatrix &proj) const
*void multMatrixPnt (const PointType3f &src, PointType3f &dst) const
void multMatrixPnt (PointType3f &pnt) const
void multFullMatrixPnt (const PointType3f &src, PointType3f &dst) const
void multFullMatrixPnt (PointType3f &pnt) const
void multMatrixVec (const VectorType3f &src, VectorType3f &dst) const
void multMatrixVec (VectorType3f &vec) const
void mult (const PointType3f &src, PointType3f &dst) const
void mult (PointType3f &vec) const
void mult (const VectorType3f &src, VectorType3f &dst) const
void mult (VectorType3f &vec) const
void mult (const TransformationMatrix &matrix)
void multPntMatrix (const PointType3f &src, PointType3f &dst) const
void multPntMatrix (PointType3f &pnt) const
void multPntFullMatrix (const PointType3f &src, PointType3f &dst) const
void multPntFullMatrix (PointType3f &pnt) const
void multVecMatrix (const VectorType3f &src, VectorType3f &dst) const
void multVecMatrix (VectorType3f &vec) const
*bool equals (const TransformationMatrix &matrix, const ValueType tol) const
Real32 det3 (void) const
Real32 det (void) const
bool inverse (TransformationMatrix &result) const
bool invert (void)
bool invertFrom (const TransformationMatrix &matrix)
bool inverse3 (TransformationMatrix &result) const
bool invert3 (void)
bool invertFrom3 (const TransformationMatrix &matrix)
bool transposed (TransformationMatrix &result) const
bool transpose (void)
bool transposeFrom (const TransformationMatrix &matrix)
void multLeft (const TransformationMatrix &matrix)
void add (const TransformationMatrix &matrix)
void scale (Real32s)
void addScaled (const TransformationMatrix &matrix, Real32s)
void negate (void)
Real32 norm1 (void) const
Real32 norm2 (void) const
Real32 normInfinity (void) const
bool sqrt (TransformationMatrix &result) const
bool sqrt (void)
bool sqrtOf (const TransformationMatrix &matrix)
bool log (TransformationMatrix &result) const
bool logOf (const TransformationMatrix &matrix)
bool exp (TransformationMatrix &result) const
bool expOf (const TransformationMatrix &matrix)
*VectorTypeoperator[] (UInt32 uiIndex)
const VectorTypeoperator[] (UInt32 uiIndex) const
*bool operator== (const TransformationMatrix &other) const
bool operator!= (const TransformationMatrix &other) const

Static Public Member Functions

*static const TransformationMatrixidentity (void)

Public Attributes

*typedef Real32 ValueType

Protected Member Functions

Real32 det3 (const Real32a1, const Real32a2, const Real32a3, const Real32b1, const Real32b2, const Real32b3, const Real32c1, const Real32c2, const Real32c3) const
*Real32 rowMulCol4 (const TransformationMatrix &gRowMat, UInt32 iRow, const TransformationMatrix &gColMat, UInt32 iColumn) const
Real32 det2 (const Real32a1, const Real32a2, const Real32b1, const Real32b2) const
bool jacobi (Real32evalues[JacobiRank], VectorType3f evectors[JacobiRank], Int32 &rots)

Protected Attributes

*VectorType _matrix [4]

Static Protected Attributes

static const UInt32 JacobiRank

Private Attributes

Real32_val

Detailed Description

This is a documentation wrapper. Its only purpose is to fool doxygen into thinking of a typedef as a class and to allow you to find all the needed info from this page.

Warning:
The real inheritance is not what you see here.

This is just to give you an idea of the conceptual relations and to help you understand the available methods of this class.

Definition at line 2432 of file dummyClasses.dox.


Member Typedef Documentation

typedef VectorInterface<Real32 , VecStorage4<Real32 > > osg::TransformationMatrix< Real32 >::VectorType [inherited]
 

Definition at line 76 of file OSGMatrix.h.

typedef QuaternionBase<ValueType> osg::TransformationMatrix< Real32 >::QuaternionType [inherited]
 

Definition at line 78 of file OSGMatrix.h.

typedef VectorInterface<Real32 , VecStorage3<Real32 > > osg::TransformationMatrix< Real32 >::VectorType3f [inherited]
 

Definition at line 81 of file OSGMatrix.h.

typedef PointInterface<Real32 , VecStorage3<Real32 > > osg::TransformationMatrix< Real32 >::PointType3f [inherited]
 

Definition at line 84 of file OSGMatrix.h.


Member Function Documentation

* static const TransformationMatrix& osg::TransformationMatrix< Real32 >::identity void   )  [static, inherited]
 

Referenced by osg::DisplayCalibration::createCMViewports(), and osg::Navigator::getMatrix().

* osg::TransformationMatrix< Real32 >::TransformationMatrix void   )  [inherited]
 

osg::TransformationMatrix< Real32 >::TransformationMatrix const TransformationMatrix< Real32 > &  source  )  [inherited]
 

osg::TransformationMatrix< Real32 >::TransformationMatrix const VectorType3f vector1,
const VectorType3f vector2,
const VectorType3f vector3
[inherited]
 

osg::TransformationMatrix< Real32 >::TransformationMatrix const VectorType3f vector1,
const VectorType3f vector2,
const VectorType3f vector3,
const VectorType3f vector4
[inherited]
 

osg::TransformationMatrix< Real32 >::TransformationMatrix const Real32   rVal00,
const Real32   rVal10,
const Real32   rVal20,
const Real32   rVal30,
const Real32   rVal01,
const Real32   rVal11,
const Real32   rVal21,
const Real32   rVal31,
const Real32   rVal02,
const Real32   rVal12,
const Real32   rVal22,
const Real32   rVal32,
const Real32   rVal03,
const Real32   rVal13,
const Real32   rVal23,
const Real32   rVal33
[inherited]
 

* void osg::TransformationMatrix< Real32 >::setIdentity void   )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setValue const TransformationMatrix< Real32 > &  mat  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setValue const VectorType3f vector1,
const VectorType3f vector2,
const VectorType3f vector3
[inherited]
 

void osg::TransformationMatrix< Real32 >::setValue const VectorType3f vector1,
const VectorType3f vector2,
const VectorType3f vector3,
const VectorType3f vector4
[inherited]
 

void osg::TransformationMatrix< Real32 >::setValue const Real32   rVal00,
const Real32   rVal10,
const Real32   rVal20,
const Real32   rVal30,
const Real32   rVal01,
const Real32   rVal11,
const Real32   rVal21,
const Real32   rVal31,
const Real32   rVal02,
const Real32   rVal12,
const Real32   rVal22,
const Real32   rVal32,
const Real32   rVal03,
const Real32   rVal13,
const Real32   rVal23,
const Real32   rVal33
[inherited]
 

void osg::TransformationMatrix< Real32 >::setValue const Real32 pMat,
bool  bTransposed = true
[inherited]
 

void osg::TransformationMatrix< Real32 >::setValue const VectorType pMat  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setValue const VectorType3f pMat  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setValue const Char8 string,
bool  bTransposed = true
[inherited]
 

void osg::TransformationMatrix< Real32 >::setValueTransposed const Real32   rVal00,
const Real32   rVal01,
const Real32   rVal02,
const Real32   rVal03,
const Real32   rVal10,
const Real32   rVal11,
const Real32   rVal12,
const Real32   rVal13,
const Real32   rVal20,
const Real32   rVal21,
const Real32   rVal22,
const Real32   rVal23,
const Real32   rVal30,
const Real32   rVal31,
const Real32   rVal32,
const Real32   rVal33
[inherited]
 

* Real32 * osg::TransformationMatrix< Real32 >::getValues void   )  [inherited]
 

const Real32 * osg::TransformationMatrix< Real32 >::getValues void   )  const [inherited]
 

* void osg::TransformationMatrix< Real32 >::setScale const Real32   s  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setScale const Real32   sx,
const Real32   sy,
const Real32   sz
[inherited]
 

void osg::TransformationMatrix< Real32 >::setScale const VectorType3f s  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setTranslate const Real32   tx,
const Real32   ty,
const Real32   tz
[inherited]
 

void osg::TransformationMatrix< Real32 >::setTranslate const VectorType3f t  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setTranslate const PointType3f t  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setRotate const QuaternionType q  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setTransform const VectorType3f t  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setTransform const QuaternionType r  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::setTransform const VectorType3f t,
const QuaternionType r
[inherited]
 

void osg::TransformationMatrix< Real32 >::setTransform const VectorType3f t,
const QuaternionType r,
const VectorType3f s
[inherited]
 

void osg::TransformationMatrix< Real32 >::setTransform const VectorType3f t,
const QuaternionType r,
const VectorType3f s,
const QuaternionType so
[inherited]
 

void osg::TransformationMatrix< Real32 >::setTransform const VectorType3f translation,
const QuaternionType rotation,
const VectorType3f scaleFactor,
const QuaternionType scaleOrientation,
const VectorType3f center
[inherited]
 

Composes the matrix based on a translation, rotation, scale, orientation for scale, and center. The "center" is the center point for scaling and rotation. The "scaleOrientation" chooses the primary axes for the scale.

* void osg::TransformationMatrix< Real32 >::getTransform VectorType3f translation,
QuaternionType rotation,
VectorType3f scaleFactor,
QuaternionType scaleOrientation,
const VectorType3f center
const [inherited]
 

void osg::TransformationMatrix< Real32 >::getTransform VectorType3f translation,
QuaternionType rotation,
VectorType3f scaleFactor,
QuaternionType scaleOrientation
const [inherited]
 

bool osg::TransformationMatrix< Real32 >::factor TransformationMatrix< Real32 > &  r,
VectorType3f s,
TransformationMatrix< Real32 > &  u,
VectorType3f t,
TransformationMatrix< Real32 > &  proj
const [inherited]
 

* void osg::TransformationMatrix< Real32 >::multMatrixPnt const PointType3f src,
PointType3f dst
const [inherited]
 

void osg::TransformationMatrix< Real32 >::multMatrixPnt PointType3f pnt  )  const [inherited]
 

void osg::TransformationMatrix< Real32 >::multFullMatrixPnt const PointType3f src,
PointType3f dst
const [inherited]
 

void osg::TransformationMatrix< Real32 >::multFullMatrixPnt PointType3f pnt  )  const [inherited]
 

void osg::TransformationMatrix< Real32 >::multMatrixVec const VectorType3f src,
VectorType3f dst
const [inherited]
 

void osg::TransformationMatrix< Real32 >::multMatrixVec VectorType3f vec  )  const [inherited]
 

void osg::TransformationMatrix< Real32 >::mult const PointType3f src,
PointType3f dst
const [inherited]
 

void osg::TransformationMatrix< Real32 >::mult PointType3f vec  )  const [inherited]
 

void osg::TransformationMatrix< Real32 >::mult const VectorType3f src,
VectorType3f dst
const [inherited]
 

void osg::TransformationMatrix< Real32 >::mult VectorType3f vec  )  const [inherited]
 

void osg::TransformationMatrix< Real32 >::mult const TransformationMatrix< Real32 > &  matrix  )  [inherited]
 

void osg::TransformationMatrix< Real32 >::multPntMatrix const PointType3f src,
PointType3f dst
const [inherited]