class SG_EXPORT osg::Matrix


Inheritance:


Public Fields

[more]float _mat[4][4]
[more]bool fully_realized

Public Methods

[more] META_Object(Matrix)
[more] Matrix()
[more] Matrix( const Matrix& other )
[more]explicit Matrix( float const* const def )
[more] Matrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)
[more]virtual ~Matrix()
[more]Matrix& operator = (const Matrix& )
[more]int compare(const Matrix& m) const
[more]bool operator < (const Matrix& m) const
[more]bool operator == (const Matrix& m) const
[more]bool operator != (const Matrix& m) const
[more]inline float& operator()(int col, int row)
[more]inline float operator()(int col, int row) const
[more]void set( float const* const )
[more]void set( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)
[more]const float* values()
[more]void makeIdent()
[more]void makeScale( const Vec3& )
[more]void makeScale( float, float, float )
[more]void makeTrans( const Vec3& )
[more]void makeTrans( float, float, float )
[more]void makeRot( const Vec3& from, const Vec3& to )
[more]void makeRot( float angle, const Vec3& orientation )
[more]void makeRot( float angle, float x, float y, float z )
[more]void makeRot( const Quat& )
[more]void makeRot( float, float, float )
[more]bool invert( const Matrix& )
[more]bool invertAffine( const Matrix& )
[more]inline static Matrix scale( const Vec3& )
[more]inline static Matrix scale( float, float, float )
[more]inline static Matrix trans( const Vec3& )
[more]inline static Matrix trans( float, float, float )
[more]inline static Matrix rotate( const Vec3&, const Vec3& )
[more]inline static Matrix rotate( float, float, float, float )
[more]inline static Matrix rotate( const Quat& )
[more]void setTrans( float tx, float ty, float tz )
[more]void setTrans( const Vec3& v )
[more]Vec3 getTrans() const
[more]void copy( const Matrix& )
[more]void preScale( float sx, float sy, float sz, const Matrix& m )
[more]void postScale( const Matrix& m, float sx, float sy, float sz )
[more]void preScale( float sx, float sy, float sz )
[more]void postScale( float sx, float sy, float sz )
[more]void preTrans( float tx, float ty, float tz, const Matrix& m )
[more]void postTrans( const Matrix& m, float tx, float ty, float tz )
[more]void preTrans( float tx, float ty, float tz)
[more]void postTrans( float tx, float ty, float tz )
[more]void preRot( float deg, float x, float y, float z, const Matrix& m )
[more]void postRot( const Matrix& m, float deg, float x, float y, float z )
[more]void preRot( float deg, float x, float y, float z )
[more]void postRot( float deg, float x, float y, float z )
[more]inline static Vec3 transform3x3(const Vec3& v, const Matrix& m)
apply apply an 3x3 transform of v*M[02,02]
[more]inline static Vec3 transform3x3(const Matrix& m, const Vec3& v)
apply apply an 3x3 transform of M[02,02]*v
[more]void mult( const Matrix&, const Matrix& )
nd of Deprecated methods
[more]void preMult( const Matrix& )
[more]void postMult( const Matrix& )
[more]inline MatrixProduct operator * ( const Matrix& other ) const
[more]inline void operator *= ( const Matrix& other )
[more]inline void operator = ( const MatrixProduct& p )
[more] Matrix( const MatrixProduct& p )
[more]inline Matrix scale(float sx, float sy, float sz)
[more]inline Matrix scale(const Vec3& v )
[more]inline Matrix trans(float tx, float ty, float tz)
[more]inline Matrix trans(const Vec3& v )
[more]inline Matrix rotate( const Quat& q )
[more]inline Matrix rotate(float angle, float x, float y, float z )
[more]inline Matrix rotate(const Vec3& from, const Vec3& to )
[more]inline Vec3 postMult( const Vec3& v ) const
[more]inline Vec3 preMult( const Vec3& v ) const
[more]inline Vec4 postMult( const Vec4& v ) const
[more]inline Vec4 preMult( const Vec4& v ) const
[more]inline Vec3 transform3x3(const Vec3& v, const Matrix& m)
[more]inline Vec3 transform3x3(const Matrix& m, const Vec3& v)
[more]inline Vec3 operator* (const Vec3& v) const
[more]inline Vec4 operator* (const Vec4& v) const

Public Members

class MatrixProduct


Inherited from Object:

Public Methods

ovirtual Object* clone() const
ovirtual bool isSameKindAs(const Object*) const
ovirtual const char* className() const


Inherited from Referenced:

Public Methods

oinline void ref() const
oinline void unref() const
oinline const int referenceCount() const

Protected Fields

omutable int _refCount


Documentation

ofloat _mat[4][4]

obool fully_realized

o META_Object(Matrix)

o Matrix()

o Matrix( const Matrix& other )

oexplicit Matrix( float const* const def )

o Matrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)

ovirtual ~Matrix()

oMatrix& operator = (const Matrix& )

oint compare(const Matrix& m) const

obool operator < (const Matrix& m) const

obool operator == (const Matrix& m) const

obool operator != (const Matrix& m) const

oinline float& operator()(int col, int row)

oinline float operator()(int col, int row) const

ovoid set( float const* const )

ovoid set( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)

oconst float* values()

ovoid makeIdent()

ovoid makeScale( const Vec3& )

ovoid makeScale( float, float, float )

ovoid makeTrans( const Vec3& )

ovoid makeTrans( float, float, float )

ovoid makeRot( const Vec3& from, const Vec3& to )

ovoid makeRot( float angle, const Vec3& orientation )

ovoid makeRot( float angle, float x, float y, float z )

ovoid makeRot( const Quat& )

ovoid makeRot( float, float, float )

obool invert( const Matrix& )

obool invertAffine( const Matrix& )

oinline static Matrix scale( const Vec3& )

oinline static Matrix scale( float, float, float )

oinline static Matrix trans( const Vec3& )

oinline static Matrix trans( float, float, float )

oinline static Matrix rotate( const Vec3&, const Vec3& )

oinline static Matrix rotate( float, float, float, float )

oinline static Matrix rotate( const Quat& )

ovoid setTrans( float tx, float ty, float tz )

ovoid setTrans( const Vec3& v )

oVec3 getTrans() const

ovoid copy( const Matrix& )

ovoid preScale( float sx, float sy, float sz, const Matrix& m )

ovoid postScale( const Matrix& m, float sx, float sy, float sz )

ovoid preScale( float sx, float sy, float sz )

ovoid postScale( float sx, float sy, float sz )

ovoid preTrans( float tx, float ty, float tz, const Matrix& m )

ovoid postTrans( const Matrix& m, float tx, float ty, float tz )

ovoid preTrans( float tx, float ty, float tz)

ovoid postTrans( float tx, float ty, float tz )

ovoid preRot( float deg, float x, float y, float z, const Matrix& m )

ovoid postRot( const Matrix& m, float deg, float x, float y, float z )

ovoid preRot( float deg, float x, float y, float z )

ovoid postRot( float deg, float x, float y, float z )

oinline static Vec3 transform3x3(const Vec3& v, const Matrix& m)
apply apply an 3x3 transform of v*M[02,02]

oinline static Vec3 transform3x3(const Matrix& m, const Vec3& v)
apply apply an 3x3 transform of M[02,02]*v

ovoid mult( const Matrix&, const Matrix& )
nd of Deprecated methods

ovoid preMult( const Matrix& )

ovoid postMult( const Matrix& )

oinline MatrixProduct operator * ( const Matrix& other ) const

oinline void operator *= ( const Matrix& other )

oinline void operator = ( const MatrixProduct& p )

o Matrix( const MatrixProduct& p )

oinline Matrix scale(float sx, float sy, float sz)

oinline Matrix scale(const Vec3& v )

oinline Matrix trans(float tx, float ty, float tz)

oinline Matrix trans(const Vec3& v )

oinline Matrix rotate( const Quat& q )

oinline Matrix rotate(float angle, float x, float y, float z )

oinline Matrix rotate(const Vec3& from, const Vec3& to )

oinline Vec3 postMult( const Vec3& v ) const

oinline Vec3 preMult( const Vec3& v ) const

oinline Vec4 postMult( const Vec4& v ) const

oinline Vec4 preMult( const Vec4& v ) const

oinline Vec3 transform3x3(const Vec3& v, const Matrix& m)

oinline Vec3 transform3x3(const Matrix& m, const Vec3& v)

oinline Vec3 operator* (const Vec3& v) const

oinline Vec4 operator* (const Vec4& v) const


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.