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

osg::Matrix4d Class Reference

Inheritance diagram for osg::Matrix4d:

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

Public Types

typedef VectorInterface< Real64,
VecStorage4< Real64 > > 
VectorType
typedef QuaternionBase< ValueTypeQuaternionType
typedef VectorInterface< Real64,
VecStorage3< Real64 > > 
VectorType3f
typedef PointInterface< Real64,
VecStorage3< Real64 > > 
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 Real64rVal00, const Real64rVal10, const Real64rVal20, const Real64rVal30, const Real64rVal01, const Real64rVal11, const Real64rVal21, const Real64rVal31, const Real64rVal02, const Real64rVal12, const Real64rVal22, const Real64rVal32, const Real64rVal03, const Real64rVal13, const Real64rVal23, const Real64rVal33)
*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 Real64rVal00, const Real64rVal10, const Real64rVal20, const Real64rVal30, const Real64rVal01, const Real64rVal11, const Real64rVal21, const Real64rVal31, const Real64rVal02, const Real64rVal12, const Real64rVal22, const Real64rVal32, const Real64rVal03, const Real64rVal13, const Real64rVal23, const Real64rVal33)
void setValue (const Real64 *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 Real64rVal00, const Real64rVal01, const Real64rVal02, const Real64rVal03, const Real64rVal10, const Real64rVal11, const Real64rVal12, const Real64rVal13, const Real64rVal20, const Real64rVal21, const Real64rVal22, const Real64rVal23, const Real64rVal30, const Real64rVal31, const Real64rVal32, const Real64rVal33)
*Real64getValues (void)
const Real64getValues (void) const
*void setScale (const Real64s)
void setScale (const Real64sx, const Real64sy, const Real64sz)
void setScale (const VectorType3f &s)
void setTranslate (const Real64tx, const Real64ty, const Real64tz)
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
Real64 det3 (void) const
Real64 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 (Real64s)
void addScaled (const TransformationMatrix &matrix, Real64s)
void negate (void)
Real64 norm1 (void) const
Real64 norm2 (void) const
Real64 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 Real64 ValueType

Protected Member Functions

Real64 det3 (const Real64a1, const Real64a2, const Real64a3, const Real64b1, const Real64b2, const Real64b3, const Real64c1, const Real64c2, const Real64c3) const
*Real64 rowMulCol4 (const TransformationMatrix &gRowMat, UInt32 iRow, const TransformationMatrix &gColMat, UInt32 iColumn) const
Real64 det2 (const Real64a1, const Real64a2, const Real64b1, const Real64b2) const
bool jacobi (Real64evalues[JacobiRank], VectorType3f evectors[JacobiRank], Int32 &rots)

Protected Attributes

*VectorType _matrix [4]

Static Protected Attributes

static const UInt32 JacobiRank

Private Attributes

Real64_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 2408 of file dummyClasses.dox.


Member Typedef Documentation

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

Definition at line 76 of file OSGMatrix.h.

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

Definition at line 78 of file OSGMatrix.h.

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

Definition at line 81 of file OSGMatrix.h.

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

Definition at line 84 of file OSGMatrix.h.


Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void osg::TransformationMatrix< Real64 >::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< Real64 >::getTransform VectorType3f translation,
QuaternionType rotation,
VectorType3f scaleFactor,
QuaternionType scaleOrientation,
const VectorType3f center
const [inherited]
 

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void os