class osg::RefMatrix


Inheritance:


Public Methods

[more] RefMatrix()
[more] RefMatrix( const Matrix& other)
[more] RefMatrix( const RefMatrix& other)
[more]explicit RefMatrix( float const* const def )
[more] RefMatrix( 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 Object* cloneType() const
[more]virtual Object* clone(const CopyOp&) const
[more]virtual bool isSameKindAs(const Object* obj) const
[more]virtual const char* libraryName() const
[more]virtual const char* className() const

Protected Methods

[more]virtual ~RefMatrix()


Inherited from Object:

Public Methods

oinline void setDataVariance(DataVariance dv)
oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
oinline Referenced* getUserData()
oinline const Referenced* getUserData() const

Public Members

oenum DataVariance

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable int _refCount


Inherited from Matrix:

Public Methods

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 row, int col)
oinline float operator()(int row, int col) const
oinline bool valid() const
oinline bool isNaN() const
oinline void set(const Matrix& other)
oinline void set(float const* const ptr)
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)
ofloat* ptr() const
ovoid makeIdentity()
ovoid makeScale( const Vec3& )
ovoid makeScale( float, float, float )
ovoid makeTranslate( const Vec3& )
ovoid makeTranslate( float, float, float )
ovoid makeRotate( const Vec3& from, const Vec3& to )
ovoid makeRotate( float angle, const Vec3& axis )
ovoid makeRotate( float angle, float x, float y, float z )
ovoid makeRotate( const Quat& )
ovoid makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
ovoid makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar)
ovoid getOrtho(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
oinline void makeOrtho2D(double left, double right, double bottom, double top)
ovoid makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar)
ovoid getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar)
ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
ovoid getLookAt(Vec3& eye, Vec3& center, Vec3& up, float lookDistance=1.0f)
obool invert( const Matrix& )
oinline static Matrix identity( void )
oinline static Matrix scale( const Vec3& sv)
oinline static Matrix scale( float sx, float sy, float sz)
oinline static Matrix translate( const Vec3& dv)
oinline static Matrix translate( float x, float y, float z)
oinline static Matrix rotate( const Vec3& from, const Vec3& to)
oinline static Matrix rotate( float angle, float x, float y, float z)
oinline static Matrix rotate( float angle, const Vec3& axis)
oinline static Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
oinline static Matrix rotate( const Quat& quat)
oinline static Matrix inverse( const Matrix& matrix)
oinline static Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar)
oinline static Matrix ortho2D(double left, double right, double bottom, double top)
oinline static Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar)
oinline static Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar)
oinline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
ovoid setTrans( float tx, float ty, float tz )
ovoid setTrans( const Vec3& v )
oinline Vec3 getTrans() const
oinline Vec3 getScale() const
oinline static Vec3 transform3x3(const Vec3& v, const Matrix& m)
oinline static Vec3 transform3x3(const Matrix& m, const Vec3& v)
ovoid mult( const Matrix&, const Matrix& )
ovoid preMult( const Matrix& )
ovoid postMult( const Matrix& )
oinline void operator *= ( const Matrix& other )
oinline Matrix operator * ( const Matrix &m ) const
oinline Matrix identity(void)
oinline Matrix scale(float sx, float sy, float sz)
oinline Matrix scale(const Vec3& v )
oinline Matrix translate(float tx, float ty, float tz)
oinline Matrix translate(const Vec3& v )
oinline Matrix rotate( const Quat& q )
oinline Matrix rotate(float angle, float x, float y, float z )
oinline Matrix rotate(float angle, const Vec3& axis )
oinline Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
oinline Matrix rotate(const Vec3& from, const Vec3& to )
oinline Matrix inverse( const Matrix& matrix)
oinline Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar)
oinline Matrix ortho2D(double left, double right, double bottom, double top)
oinline Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar)
oinline Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar)
oinline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
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

Protected Fields

ofloat _mat[4][4]


Documentation

o RefMatrix()

o RefMatrix( const Matrix& other)

o RefMatrix( const RefMatrix& other)

oexplicit RefMatrix( float const* const def )

o RefMatrix( 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 Object* cloneType() const

ovirtual Object* clone(const CopyOp&) const

ovirtual bool isSameKindAs(const Object* obj) const

ovirtual const char* libraryName() const

ovirtual const char* className() const

ovirtual ~RefMatrix()


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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