class osg::RefMatrixf


Inheritance:


Public Methods

[more] RefMatrixf()
[more] RefMatrixf( const Matrixf& other)
[more] RefMatrixf( const Matrixd& other)
[more] RefMatrixf( const RefMatrixf& other)
[more]explicit RefMatrixf( Matrixf::value_type const* const def )
[more] RefMatrixf( Matrixf::value_type a00, Matrixf::value_type a01, Matrixf::value_type a02, Matrixf::value_type a03, Matrixf::value_type a10, Matrixf::value_type a11, Matrixf::value_type a12, Matrixf::value_type a13, Matrixf::value_type a20, Matrixf::value_type a21, Matrixf::value_type a22, Matrixf::value_type a23, Matrixf::value_type a30, Matrixf::value_type a31, Matrixf::value_type a32, Matrixf::value_type 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 ~RefMatrixf()


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 Matrixf:

Public Methods

oint compare(const Matrixf& m) const
obool operator < (const Matrixf& m) const
obool operator == (const Matrixf& m) const
obool operator != (const Matrixf& m) const
oinline value_type& operator()(int row, int col)
oinline value_type operator()(int row, int col) const
oinline bool valid() const
oinline bool isNaN() const
ovoid set(const Matrixd& rhs)
oinline void set(const Matrixf& rhs)
oinline void set(float const* const ptr)
oinline void set(double const* const ptr)
ovoid set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)
ovoid set(const Quat& q)
ovoid get(Quat& q) const
ovalue_type* ptr()
oconst value_type* ptr() const
ovoid makeIdentity()
ovoid makeScale( const Vec3& )
ovoid makeScale( value_type, value_type, value_type )
ovoid makeTranslate( const Vec3& )
ovoid makeTranslate( value_type, value_type, value_type )
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)
obool 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)
obool getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar)
obool getPerspective(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 Matrixf& )
oinline static Matrixf identity( void )
oinline static Matrixf scale( const Vec3& sv)
oinline static Matrixf scale( value_type sx, value_type sy, value_type sz)
oinline static Matrixf translate( const Vec3& dv)
oinline static Matrixf translate( value_type x, value_type y, value_type z)
oinline static Matrixf rotate( const Vec3& from, const Vec3& to)
oinline static Matrixf rotate( float angle, float x, float y, float z)
oinline static Matrixf rotate( float angle, const Vec3& axis)
oinline static Matrixf rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
oinline static Matrixf rotate( const Quat& quat)
oinline static Matrixf inverse( const Matrixf& matrix)
oinline static Matrixf ortho(double left, double right, double bottom, double top, double zNear, double zFar)
oinline static Matrixf ortho2D(double left, double right, double bottom, double top)
oinline static Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar)
oinline static Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar)
oinline static Matrixf lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
ovoid setTrans( value_type tx, value_type ty, value_type tz )
ovoid setTrans( const Vec3& v )
oinline Vec3 getTrans() const
oinline Vec3 getScale() const
oinline static Vec3 transform3x3(const Vec3& v, const Matrixf& m)
oinline static Vec3 transform3x3(const Matrixf& m, const Vec3& v)
ovoid mult( const Matrixf&, const Matrixf& )
ovoid preMult( const Matrixf& )
ovoid postMult( const Matrixf& )
oinline void operator *= ( const Matrixf& other )
oinline Matrixf operator * ( const Matrixf &m ) const
oinline Matrixf identity(void)
oinline Matrixf scale(value_type sx, value_type sy, value_type sz)
oinline Matrixf scale(const Vec3& v )
oinline Matrixf translate(value_type tx, value_type ty, value_type tz)
oinline Matrixf translate(const Vec3& v )
oinline Matrixf rotate( const Quat& q )
oinline Matrixf rotate(float angle, float x, float y, float z )
oinline Matrixf rotate(float angle, const Vec3& axis )
oinline Matrixf rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
oinline Matrixf rotate(const Vec3& from, const Vec3& to )
oinline Matrixf inverse( const Matrixf& matrix)
oinline Matrixf ortho(double left, double right, double bottom, double top, double zNear, double zFar)
oinline Matrixf ortho2D(double left, double right, double bottom, double top)
oinline Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar)
oinline Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar)
oinline Matrixf 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 Matrixf& m)
oinline Vec3 transform3x3(const Matrixf& m, const Vec3& v)
oinline Vec3 operator* (const Vec3& v) const
oinline Vec4 operator* (const Vec4& v) const

Public Members

otypedef float value_type

Protected Fields

ovalue_type _mat[4][4]


Documentation

o RefMatrixf()

o RefMatrixf( const Matrixf& other)

o RefMatrixf( const Matrixd& other)

o RefMatrixf( const RefMatrixf& other)

oexplicit RefMatrixf( Matrixf::value_type const* const def )

o RefMatrixf( Matrixf::value_type a00, Matrixf::value_type a01, Matrixf::value_type a02, Matrixf::value_type a03, Matrixf::value_type a10, Matrixf::value_type a11, Matrixf::value_type a12, Matrixf::value_type a13, Matrixf::value_type a20, Matrixf::value_type a21, Matrixf::value_type a22, Matrixf::value_type a23, Matrixf::value_type a30, Matrixf::value_type a31, Matrixf::value_type a32, Matrixf::value_type 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 ~RefMatrixf()


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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