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 Classes

oenum DataVariance

Public Methods

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

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (const 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 OpenThreads::Mutex _refMutex
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
oinline void set(const Matrixf& rhs)
ovoid set(const Matrixd& 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 Vec3d& )
ovoid makeScale( value_type, value_type, value_type )
ovoid makeTranslate( const Vec3d& )
ovoid makeTranslate( value_type, value_type, value_type )
ovoid makeRotate( const Vec3f& from, const Vec3f& to )
ovoid makeRotate( const Vec3d& from, const Vec3d& to )
ovoid makeRotate( value_type angle, const Vec3f& axis )
ovoid makeRotate( value_type angle, const Vec3d& axis )
ovoid makeRotate( value_type angle, value_type x, value_type y, value_type z )
ovoid makeRotate( const Quat& )
ovoid makeRotate( value_type angle1, const Vec3f& axis1, value_type angle2, const Vec3f& axis2, value_type angle3, const Vec3f& axis3)
ovoid makeRotate( value_type angle1, const Vec3d& axis1, value_type angle2, const Vec3d& axis2, value_type angle3, const Vec3d& 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) const
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) const
ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar)
obool getPerspective(double& fovy, double& aspectRatio, double& zNear, double& zFar) const
ovoid makeLookAt(const Vec3d& eye, const Vec3d& center, const Vec3d& up)
ovoid getLookAt(Vec3f& eye, Vec3f& center, Vec3f& up, value_type lookDistance=1.0f) const
ovoid getLookAt(Vec3d& eye, Vec3d& center, Vec3d& up, value_type lookDistance=1.0f) const
obool invert( const Matrixf& rhs)
obool invert_4x4_orig( const Matrixf& )
obool invert_4x4_new( const Matrixf& )
oinline static Matrixf identity( void )
oinline static Matrixf scale( const Vec3f& sv)
oinline static Matrixf scale( const Vec3d& sv)
oinline static Matrixf scale( value_type sx, value_type sy, value_type sz)
oinline static Matrixf translate( const Vec3f& dv)
oinline static Matrixf translate( const Vec3d& dv)
oinline static Matrixf translate( value_type x, value_type y, value_type z)
oinline static Matrixf rotate( const Vec3f& from, const Vec3f& to)
oinline static Matrixf rotate( const Vec3d& from, const Vec3d& to)
oinline static Matrixf rotate( value_type angle, value_type x, value_type y, value_type z)
oinline static Matrixf rotate( value_type angle, const Vec3f& axis)
oinline static Matrixf rotate( value_type angle, const Vec3d& axis)
oinline static Matrixf rotate( value_type angle1, const Vec3f& axis1, value_type angle2, const Vec3f& axis2, value_type angle3, const Vec3f& axis3)
oinline static Matrixf rotate( value_type angle1, const Vec3d& axis1, value_type angle2, const Vec3d& axis2, value_type angle3, const Vec3d& 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 Vec3f& eye, const Vec3f& center, const Vec3f& up)
oinline static Matrixf lookAt(const Vec3d& eye, const Vec3d& center, const Vec3d& up)
ovoid setTrans( value_type tx, value_type ty, value_type tz )
ovoid setTrans( const Vec3f& v )
ovoid setTrans( const Vec3d& v )
oinline Vec3d getTrans() const
oinline Vec3d getScale() const
oinline static Vec3f transform3x3(const Vec3f& v, const Matrixf& m)
oinline static Vec3d transform3x3(const Vec3d& v, const Matrixf& m)
oinline static Vec3f transform3x3(const Matrixf& m, const Vec3f& v)
oinline static Vec3d transform3x3(const Matrixf& m, const Vec3d& 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 Vec3f& v )
oinline Matrixf scale(const Vec3d& v )
oinline Matrixf translate(value_type tx, value_type ty, value_type tz)
oinline Matrixf translate(const Vec3f& v )
oinline Matrixf translate(const Vec3d& v )
oinline Matrixf rotate( const Quat& q )
oinline Matrixf rotate(value_type angle, value_type x, value_type y, value_type z )
oinline Matrixf rotate(value_type angle, const Vec3f& axis )
oinline Matrixf rotate(value_type angle, const Vec3d& axis )
oinline Matrixf rotate( value_type angle1, const Vec3f& axis1, value_type angle2, const Vec3f& axis2, value_type angle3, const Vec3f& axis3)
oinline Matrixf rotate( value_type angle1, const Vec3d& axis1, value_type angle2, const Vec3d& axis2, value_type angle3, const Vec3d& axis3)
oinline Matrixf rotate(const Vec3f& from, const Vec3f& to )
oinline Matrixf rotate(const Vec3d& from, const Vec3d& 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 Vec3f& eye, const Vec3f& center, const Vec3f& up)
oinline Matrixf lookAt(const Vec3d& eye, const Vec3d& center, const Vec3d& up)
oinline Vec3f postMult( const Vec3f& v ) const
oinline Vec3d postMult( const Vec3d& v ) const
oinline Vec3f preMult( const Vec3f& v ) const
oinline Vec3d preMult( const Vec3d& v ) const
oinline Vec4f postMult( const Vec4f& v ) const
oinline Vec4d postMult( const Vec4d& v ) const
oinline Vec4f preMult( const Vec4f& v ) const
oinline Vec4d preMult( const Vec4d& v ) const
oinline Vec3f transform3x3(const Vec3f& v, const Matrixf& m)
oinline Vec3d transform3x3(const Vec3d& v, const Matrixf& m)
oinline Vec3f transform3x3(const Matrixf& m, const Vec3f& v)
oinline Vec3d transform3x3(const Matrixf& m, const Vec3d& v)
oinline Vec3f operator* (const Vec3f& v) const
oinline Vec3d operator* (const Vec3d& v) const
oinline Vec4f operator* (const Vec4f& v) const
oinline Vec4d operator* (const Vec4d& v) const

Public

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++.