Public Member Functions | |
Matrix4 () | |
Matrix4 (const Matrix4 &m) | |
Matrix4 (const Matrix3 &m) | |
Matrix4 (const Real &s) | |
Matrix4 (Real e11, Real e12, Real e13, Real e14, Real e21, Real e22, Real e23, Real e24, Real e31, Real e32, Real e33, Real e34, Real e41, Real e42, Real e43, Real e44) | |
Matrix4 (const Matrix3 &orientation, const Point3 &translation) | |
Matrix4 (const osg::Matrix &matrix) | |
~Matrix4 () | |
Matrix4 & | setIdentity () throw () |
Matrix4 & | setZero () throw () |
Real & | e (Int row, Int col) throw () |
const Real & | e (Int row, Int col) const throw () |
Real & | at (Int row, Int col) throw (std::out_of_range) |
const Real & | at (Int row, Int col) const throw (std::out_of_range) |
Real & | operator() (Int row, Int col) throw () |
const Real & | operator() (Int row, Int col) const throw () |
Vector4 | row (Int row) const |
Vector4 | column (Int col) const |
void | setRow (Int row, const Vector3 &r) throw () |
void | setRow (Int row, const Vector4 &r) throw () |
void | setColumn (Int col, const Vector3 &c) throw () |
void | setColumn (Int col, const Vector4 &c) throw () |
void | swapColumns (Int col1, Int col2) throw (std::out_of_range) |
void | swapRows (Int row1, Int row2) throw (std::out_of_range) |
Vector4 | operator[] (Int r) const |
int | index (Int row, Int col) const throw () |
Matrix4 & | operator= (const Matrix4 &src) throw () |
bool | operator== (const Matrix4 &m1) const throw () |
bool | equals (const Matrix4 &m1, Real epsilon=consts::epsilon) const throw () |
void | setToTranslation (const Vector3 &trans) |
void | setTranslationComponent (const Vector3 &trans) |
Vector3 | getTranslationComponent () const |
void | setRotationAboutZ (Real angle) |
Matrix4 & | transpose () |
Matrix4 & | invert () |
Matrix4 & | negate () throw () |
void | decomposeLUP (Matrix4 &L, Matrix4 &U, Vector4 &Pi) const |
Vector4 | solve (const Vector4 &b) const |
Matrix4 & | operator *= (const Matrix4 &m2) |
Matrix4 & | operator+= (const Matrix4 &m2) |
Matrix4 & | operator-= (const Matrix4 &m2) |
Matrix4 & | operator *= (const Real &s) |
Matrix4 & | operator/= (const Real &s) |
operator Matrix3 () const | |
convert to 3x3 submatrix | |
operator osg::Matrix () const | |
convert to osg::Matrix | |
const Real * | c_array () const |
Real * | c_array () |
void | serialize (Serializer &s) |
read or write object state to Serializer | |
Static Public Member Functions | |
Vector4 | solveLUP (const Matrix4 &L, const Matrix4 &U, const Vector4 &Pi, const Vector4 &b) |
void | decomposeLUP (const Matrix4 &A, Matrix4 &L, Matrix4 &U, Vector4 &Pi) |
Vector4 | matrixMulVector (const Matrix4 &m, const Vector4 &v) |
Vector4 | matrixMulVectorAddVector (const Matrix4 &m, const Vector4 &v, const Vector4 &v2) |
Vector4 | matrixMulVector (const Matrix4 &m, const Vector3 &v) |
|
Definition at line 81 of file Matrix4. References setIdentity(). Referenced by operator=(), setIdentity(), and setZero(). |
|
Definition at line 82 of file Matrix4. References operator=(). |
|
Definition at line 83 of file Matrix4. References base::Matrix3::e(), and e(). |
|
Definition at line 90 of file Matrix4. References base::Real. |
|
Definition at line 91 of file Matrix4. References e(), and base::Real. |
|
Definition at line 101 of file Matrix4. References base::Matrix3::e(), e(), base::Point3, base::Vector3::x, base::Vector3::y, and base::Vector3::z. |
|
Definition at line 112 of file Matrix4. References base::Int. |
|
|
|
Definition at line 159 of file Matrix4. References Exception, base::Int, MATRIX4_ACCESS, and base::Real. |
|
Definition at line 151 of file Matrix4. References Exception, base::Int, MATRIX4_ACCESS, and base::Real. Referenced by operator()(). |
|
Definition at line 285 of file Matrix4. References base::Real. |
|
Definition at line 284 of file Matrix4. References base::Real. |
|
Definition at line 189 of file Matrix4. References e(), and base::Int. Referenced by robot::operator<<(), and swapColumns(). |
|
|
|
|
|
Definition at line 145 of file Matrix4. References Assertm, base::Int, MATRIX4_ACCESS, and base::Real. |
|
Definition at line 139 of file Matrix4. References Assertm, base::Int, MATRIX4_ACCESS, and base::Real. Referenced by column(), base::Transform::getTranslation(), getTranslationComponent(), Matrix4(), operator()(), base::operator<<(), row(), setColumn(), and setRow(). |
|
Definition at line 248 of file Matrix4. References base::equals(), and base::Real. |
|
Definition at line 258 of file Matrix4. References e(). |
|
Definition at line 229 of file Matrix4. References base::Int, and MATRIX4_ACCESS. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
convert to 3x3 submatrix
|
|
convert to osg::Matrix
|
|
Definition at line 176 of file Matrix4. References at(), e(), base::Int, and base::Real. |
|
Definition at line 167 of file Matrix4. References at(), e(), base::Int, and base::Real. |
|
|
|
|
|
|
|
Definition at line 232 of file Matrix4. References Matrix4(). Referenced by Matrix4(). |
|
|
|
|
|
Definition at line 186 of file Matrix4. References e(), and base::Int. Referenced by operator[](), and swapRows(). |
|
read or write object state to Serializer
Referenced by base::Serializer::operator()(). |
|
|
|
Definition at line 198 of file Matrix4. References e(), and base::Int. Referenced by swapColumns(). |
|
Definition at line 128 of file Matrix4. References Matrix4(), and base::Real. Referenced by Matrix4(). |
|
|
|
|
|
Definition at line 192 of file Matrix4. References e(), and base::Int. Referenced by swapRows(). |
|
|
|
|
|
Definition at line 133 of file Matrix4. References Matrix4(), and base::Real. |
|
|
|
|
|
Definition at line 204 of file Matrix4. References column(), Exception, base::Int, and setColumn(). |
|
|
|
|