#include <FixedMatrixGetter.h>

Public Member Functions | |
| FixedMatrixGetter () | |
| FixedMatrixGetter (const osg::Vec3 &EyePos, const osg::Vec3 &Dir, const osg::Vec3 &Up) | |
| FixedMatrixGetter (const osg::Matrix &matrix) | |
| void | setByFrame (const osg::Vec3 &EyePos, osg::Vec3 Dir, osg::Vec3 Up) |
| Sets the matrix by giving a coordinates frame. | |
| void | setByMatrix (const osg::Matrix &matrix) |
| void | setByInverseMatrix (const osg::Matrix &matrix) |
| virtual osg::Matrix | getMatrix () const |
| virtual osg::Matrix | getInverseMatrix () const |
Protected Attributes | |
| osg::Matrix | mat |
| osg::Matrix | invMat |
Contains a matrix and its inverse (for performance reasons).
Definition at line 35 of file FixedMatrixGetter.h.
| FixedMatrixGetter::FixedMatrixGetter | ( | ) | [inline] |
| FixedMatrixGetter::FixedMatrixGetter | ( | const osg::Vec3 & | EyePos, | |
| const osg::Vec3 & | Dir, | |||
| const osg::Vec3 & | Up | |||
| ) | [inline] |
| FixedMatrixGetter::FixedMatrixGetter | ( | const osg::Matrix & | matrix | ) | [inline] |
| virtual osg::Matrix FixedMatrixGetter::getInverseMatrix | ( | ) | const [inline, virtual] |
| virtual osg::Matrix FixedMatrixGetter::getMatrix | ( | ) | const [inline, virtual] |
| void FixedMatrixGetter::setByFrame | ( | const osg::Vec3 & | EyePos, | |
| osg::Vec3 | Dir, | |||
| osg::Vec3 | Up | |||
| ) | [inline] |
Sets the matrix by giving a coordinates frame.
Vectors Dir and Up do not need to be normalized (they are in the method).
Definition at line 43 of file FixedMatrixGetter.h.
References setByInverseMatrix().
Referenced by FixedMatrixGetter().
| void FixedMatrixGetter::setByInverseMatrix | ( | const osg::Matrix & | matrix | ) | [inline, virtual] |
Implements MatrixGetter.
Definition at line 53 of file FixedMatrixGetter.h.
Referenced by setByFrame().
| void FixedMatrixGetter::setByMatrix | ( | const osg::Matrix & | matrix | ) | [inline, virtual] |
Implements MatrixGetter.
Definition at line 49 of file FixedMatrixGetter.h.
Referenced by FixedMatrixGetter().
osg::Matrix FixedMatrixGetter::invMat [protected] |
Definition at line 62 of file FixedMatrixGetter.h.
Referenced by getInverseMatrix(), setByInverseMatrix(), and setByMatrix().
osg::Matrix FixedMatrixGetter::mat [protected] |
Definition at line 62 of file FixedMatrixGetter.h.
Referenced by getMatrix(), setByInverseMatrix(), and setByMatrix().
1.5.9