OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
osg::Matrixf Class Reference

#include <Matrixf.h>

Inheritance diagram for osg::Matrixf:
Inheritance graph
[legend]

Public Types

typedef float value_type
 
typedef double other_value_type
 

Public Member Functions

 Matrixf ()
 
 Matrixf (const Matrixf &mat)
 
 Matrixf (const Matrixd &mat)
 
 Matrixf (float const *const ptr)
 
 Matrixf (double const *const ptr)
 
 Matrixf (const Quat &quat)
 
 Matrixf (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)
 
 ~Matrixf ()
 
int compare (const Matrixf &m) const
 
bool operator< (const Matrixf &m) const
 
bool operator== (const Matrixf &m) const
 
bool operator!= (const Matrixf &m) const
 
value_typeoperator() (int row, int col)
 
value_type operator() (int row, int col) const
 
bool valid () const
 
bool isNaN () const
 
Matrixfoperator= (const Matrixf &rhs)
 
Matrixfoperator= (const Matrixd &other)
 
void set (const Matrixf &rhs)
 
void set (const Matrixd &rhs)
 
void set (float const *const ptr)
 
void set (double const *const ptr)
 
void 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)
 
value_typeptr ()
 
const value_typeptr () const
 
bool isIdentity () const
 
void makeIdentity ()
 
void makeScale (const Vec3f &)
 
void makeScale (const Vec3d &)
 
void makeScale (value_type, value_type, value_type)
 
void makeTranslate (const Vec3f &)
 
void makeTranslate (const Vec3d &)
 
void makeTranslate (value_type, value_type, value_type)
 
void makeRotate (const Vec3f &from, const Vec3f &to)
 
void makeRotate (const Vec3d &from, const Vec3d &to)
 
void makeRotate (value_type angle, const Vec3f &axis)
 
void makeRotate (value_type angle, const Vec3d &axis)
 
void makeRotate (value_type angle, value_type x, value_type y, value_type z)
 
void makeRotate (const Quat &)
 
void makeRotate (value_type angle1, const Vec3f &axis1, value_type angle2, const Vec3f &axis2, value_type angle3, const Vec3f &axis3)
 
void makeRotate (value_type angle1, const Vec3d &axis1, value_type angle2, const Vec3d &axis2, value_type angle3, const Vec3d &axis3)
 
void decompose (osg::Vec3f &translation, osg::Quat &rotation, osg::Vec3f &scale, osg::Quat &so) const
 
void decompose (osg::Vec3d &translation, osg::Quat &rotation, osg::Vec3d &scale, osg::Quat &so) const
 
void makeOrtho (double left, double right, double bottom, double top, double zNear, double zFar)
 
bool getOrtho (double &left, double &right, double &bottom, double &top, double &zNear, double &zFar) const
 
bool getOrtho (float &left, float &right, float &bottom, float &top, float &zNear, float &zFar) const
 
void makeOrtho2D (double left, double right, double bottom, double top)
 
void makeFrustum (double left, double right, double bottom, double top, double zNear, double zFar)
 
bool getFrustum (double &left, double &right, double &bottom, double &top, double &zNear, double &zFar) const
 
bool getFrustum (float &left, float &right, float &bottom, float &top, float &zNear, float &zFar) const
 
void makePerspective (double fovy, double aspectRatio, double zNear, double zFar)
 
bool getPerspective (double &fovy, double &aspectRatio, double &zNear, double &zFar) const
 
bool getPerspective (float &fovy, float &aspectRatio, float &zNear, float &zFar) const
 
void makeLookAt (const Vec3d &eye, const Vec3d &center, const Vec3d &up)
 
void getLookAt (Vec3f &eye, Vec3f &center, Vec3f &up, value_type lookDistance=1.0f) const
 
void getLookAt (Vec3d &eye, Vec3d &center, Vec3d &up, value_type lookDistance=1.0f) const
 
bool invert (const Matrixf &rhs)
 
bool invert_4x3 (const Matrixf &rhs)
 
bool invert_4x4 (const Matrixf &rhs)
 
void orthoNormalize (const Matrixf &rhs)
 
Vec3f preMult (const Vec3f &v) const
 
Vec3d preMult (const Vec3d &v) const
 
Vec3f postMult (const Vec3f &v) const
 
Vec3d postMult (const Vec3d &v) const
 
Vec3f operator* (const Vec3f &v) const
 
Vec3d operator* (const Vec3d &v) const
 
Vec4f preMult (const Vec4f &v) const
 
Vec4d preMult (const Vec4d &v) const
 
Vec4f postMult (const Vec4f &v) const
 
Vec4d postMult (const Vec4d &v) const
 
Vec4f operator* (const Vec4f &v) const
 
Vec4d operator* (const Vec4d &v) const
 
void setRotate (const Quat &q)
 
Quat getRotate () const
 
void setTrans (value_type tx, value_type ty, value_type tz)
 
void setTrans (const Vec3f &v)
 
void setTrans (const Vec3d &v)
 
Vec3d getTrans () const
 
Vec3d getScale () const
 
void mult (const Matrixf &, const Matrixf &)
 
void preMult (const Matrixf &)
 
void postMult (const Matrixf &)
 
void preMultTranslate (const Vec3d &v)
 
void preMultTranslate (const Vec3f &v)
 
void postMultTranslate (const Vec3d &v)
 
void postMultTranslate (const Vec3f &v)
 
void preMultScale (const Vec3d &v)
 
void preMultScale (const Vec3f &v)
 
void postMultScale (const Vec3d &v)
 
void postMultScale (const Vec3f &v)
 
void preMultRotate (const Quat &q)
 
void postMultRotate (const Quat &q)
 
void operator*= (const Matrixf &other)
 
Matrixf operator* (const Matrixf &m) const
 
Matrixf operator* (value_type rhs) const
 
Matrixfoperator*= (value_type rhs)
 
Matrixf operator/ (value_type rhs) const
 
Matrixfoperator/= (value_type rhs)
 
Matrixf operator+ (const Matrixf &rhs) const
 
Matrixfoperator+= (const Matrixf &rhs)
 

Static Public Member Functions

static Matrixf identity (void)
 
static Matrixf scale (const Vec3f &sv)
 
static Matrixf scale (const Vec3d &sv)
 
static Matrixf scale (value_type sx, value_type sy, value_type sz)
 
static Matrixf translate (const Vec3f &dv)
 
static Matrixf translate (const Vec3d &dv)
 
static Matrixf translate (value_type x, value_type y, value_type z)
 
static Matrixf rotate (const Vec3f &from, const Vec3f &to)
 
static Matrixf rotate (const Vec3d &from, const Vec3d &to)
 
static Matrixf rotate (value_type angle, value_type x, value_type y, value_type z)
 
static Matrixf rotate (value_type angle, const Vec3f &axis)
 
static Matrixf rotate (value_type angle, const Vec3d &axis)
 
static Matrixf rotate (value_type angle1, const Vec3f &axis1, value_type angle2, const Vec3f &axis2, value_type angle3, const Vec3f &axis3)
 
static Matrixf rotate (value_type angle1, const Vec3d &axis1, value_type angle2, const Vec3d &axis2, value_type angle3, const Vec3d &axis3)
 
static Matrixf rotate (const Quat &quat)
 
static Matrixf inverse (const Matrixf &matrix)
 
static Matrixf orthoNormal (const Matrixf &matrix)
 
static Matrixf ortho (double left, double right, double bottom, double top, double zNear, double zFar)
 
static Matrixf ortho2D (double left, double right, double bottom, double top)
 
static Matrixf frustum (double left, double right, double bottom, double top, double zNear, double zFar)
 
static Matrixf perspective (double fovy, double aspectRatio, double zNear, double zFar)
 
static Matrixf lookAt (const Vec3f &eye, const Vec3f &center, const Vec3f &up)
 
static Matrixf lookAt (const Vec3d &eye, const Vec3d &center, const Vec3d &up)
 
static Vec3f transform3x3 (const Vec3f &v, const Matrixf &m)
 
static Vec3d transform3x3 (const Vec3d &v, const Matrixf &m)
 
static Vec3f transform3x3 (const Matrixf &m, const Vec3f &v)
 
static Vec3d transform3x3 (const Matrixf &m, const Vec3d &v)
 

Protected Attributes

value_type _mat [4][4]
 

Detailed Description

Definition at line 26 of file Matrixf.h.

Member Typedef Documentation

Definition at line 31 of file Matrixf.h.

typedef float osg::Matrixf::value_type

Definition at line 30 of file Matrixf.h.

Constructor & Destructor Documentation

osg::Matrixf::Matrixf ( )
inline

Definition at line 33 of file Matrixf.h.

Here is the caller graph for this function:

osg::Matrixf::Matrixf ( const Matrixf mat)
inline

Definition at line 34 of file Matrixf.h.

Here is the call graph for this function:

osg::Matrixf::Matrixf ( const Matrixd mat)
osg::Matrixf::Matrixf ( float const *const  ptr)
inlineexplicit

Definition at line 36 of file Matrixf.h.

osg::Matrixf::Matrixf ( double const *const  ptr)
inlineexplicit

Definition at line 37 of file Matrixf.h.

osg::Matrixf::Matrixf ( const Quat quat)
inlineexplicit

Definition at line 38 of file Matrixf.h.

osg::Matrixf::Matrixf ( 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 
)
osg::Matrixf::~Matrixf ( )
inline

Definition at line 45 of file Matrixf.h.

Member Function Documentation

int osg::Matrixf::compare ( const Matrixf m) const
void osg::Matrixf::decompose ( osg::Vec3f translation,
osg::Quat rotation,
osg::Vec3f scale,
osg::Quat so 
) const

decompose the matrix into translation, rotation, scale and scale orientation.

void osg::Matrixf::decompose ( osg::Vec3d translation,
osg::Quat rotation,
osg::Vec3d scale,
osg::Quat so 
) const

decompose the matrix into translation, rotation, scale and scale orientation.

Matrixf osg::Matrixf::frustum ( double  left,
double  right,
double  bottom,
double  top,
double  zNear,
double  zFar 
)
inlinestatic

Create a perspective projection. See glFrustum for further details.

Definition at line 673 of file Matrixf.h.

Here is the call graph for this function:

bool osg::Matrixf::getFrustum ( double &  left,
double &  right,
double &  bottom,
double &  top,
double &  zNear,
double &  zFar 
) const

Get the frustum settings of a perspective projection matrix. Note, if matrix is not a perspective matrix then invalid values will be returned.

bool osg::Matrixf::getFrustum ( float &  left,
float &  right,
float &  bottom,
float &  top,
float &  zNear,
float &  zFar 
) const

float version of getFrustum(..)

void osg::Matrixf::getLookAt ( Vec3f eye,
Vec3f center,
Vec3f up,
value_type  lookDistance = 1.0f 
) const

Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.

void osg::Matrixf::getLookAt ( Vec3d eye,
Vec3d center,
Vec3d up,
value_type  lookDistance = 1.0f 
) const

Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.

bool osg::Matrixf::getOrtho ( double &  left,
double &  right,
double &  bottom,
double &  top,
double &  zNear,
double &  zFar 
) const

Get the orthographic settings of the orthographic projection matrix. Note, if matrix is not an orthographic matrix then invalid values will be returned.

bool osg::Matrixf::getOrtho ( float &  left,
float &  right,
float &  bottom,
float &  top,
float &  zNear,
float &  zFar 
) const

float version of getOrtho(..)

bool osg::Matrixf::getPerspective ( double &  fovy,
double &  aspectRatio,
double &  zNear,
double &  zFar 
) const

Get the frustum settings of a symmetric perspective projection matrix. Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead.

bool osg::Matrixf::getPerspective ( float &  fovy,
float &  aspectRatio,
float &  zNear,
float &  zFar 
) const

float version of getPerspective(..)

Quat osg::Matrixf::getRotate ( ) const

Get the matrix rotation as a Quat. Note that this function assumes a non-scaled matrix and will return incorrect results for scaled matrixces. Consider decompose() instead.

Vec3d osg::Matrixf::getScale ( ) const
inline

Definition at line 344 of file Matrixf.h.

Here is the call graph for this function:

Vec3d osg::Matrixf::getTrans ( ) const
inline

Definition at line 342 of file Matrixf.h.

Matrixf osg::Matrixf::identity ( void  )
inlinestatic

Definition at line 550 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::inverse ( const Matrixf matrix)
inlinestatic

Definition at line 642 of file Matrixf.h.

Here is the call graph for this function:

bool osg::Matrixf::invert ( const Matrixf rhs)
inline

invert the matrix rhs, automatically select invert_4x3 or invert_4x4.

Definition at line 233 of file Matrixf.h.

Here is the caller graph for this function:

bool osg::Matrixf::invert_4x3 ( const Matrixf rhs)

4x3 matrix invert, not right hand column is assumed to be 0,0,0,1.

bool osg::Matrixf::invert_4x4 ( const Matrixf rhs)

full 4x4 matrix invert.

bool osg::Matrixf::isIdentity ( ) const
inline

Definition at line 95 of file Matrixf.h.

bool osg::Matrixf::isNaN ( ) const
inline

Definition at line 57 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::lookAt ( const Vec3f eye,
const Vec3f center,
const Vec3f up 
)
inlinestatic

Create the position and orientation as per a camera, using the same convention as gluLookAt.

Definition at line 690 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::lookAt ( const Vec3d eye,
const Vec3d center,
const Vec3d up 
)
inlinestatic

Create the position and orientation as per a camera, using the same convention as gluLookAt.

Definition at line 697 of file Matrixf.h.

Here is the call graph for this function:

void osg::Matrixf::makeFrustum ( double  left,
double  right,
double  bottom,
double  top,
double  zNear,
double  zFar 
)

Set to a perspective projection. See glFrustum for further details.

Here is the caller graph for this function:

void osg::Matrixf::makeIdentity ( )

Here is the caller graph for this function:

void osg::Matrixf::makeLookAt ( const Vec3d eye,
const Vec3d center,
const Vec3d up 
)

Set the position and orientation to be a view matrix, using the same convention as gluLookAt.

Here is the caller graph for this function:

void osg::Matrixf::makeOrtho ( double  left,
double  right,
double  bottom,
double  top,
double  zNear,
double  zFar 
)

Set to an orthographic projection. See glOrtho for further details.

Here is the caller graph for this function:

void osg::Matrixf::makeOrtho2D ( double  left,
double  right,
double  bottom,
double  top 
)
inline

Set to a 2D orthographic projection. See glOrtho2D for further details.

Definition at line 164 of file Matrixf.h.

Here is the caller graph for this function:

void osg::Matrixf::makePerspective ( double  fovy,
double  aspectRatio,
double  zNear,
double  zFar 
)

Set to a symmetrical perspective projection. See gluPerspective for further details. Aspect ratio is defined as width/height.

Here is the caller graph for this function:

void osg::Matrixf::makeRotate ( const Vec3f from,
const Vec3f to 
)

Here is the caller graph for this function:

void osg::Matrixf::makeRotate ( const Vec3d from,
const Vec3d to 
)
void osg::Matrixf::makeRotate ( value_type  angle,
const Vec3f axis 
)
void osg::Matrixf::makeRotate ( value_type  angle,
const Vec3d axis 
)
void osg::Matrixf::makeRotate ( value_type  angle,
value_type  x,
value_type  y,
value_type  z 
)
void osg::Matrixf::makeRotate ( const Quat )
void osg::Matrixf::makeRotate ( value_type  angle1,
const Vec3f axis1,
value_type  angle2,
const Vec3f axis2,
value_type  angle3,
const Vec3f axis3 
)
void osg::Matrixf::makeRotate ( value_type  angle1,
const Vec3d axis1,
value_type  angle2,
const Vec3d axis2,
value_type  angle3,
const Vec3d axis3 
)
void osg::Matrixf::makeScale ( const Vec3f )

Here is the caller graph for this function:

void osg::Matrixf::makeScale ( const Vec3d )
void osg::Matrixf::makeScale ( value_type  ,
value_type  ,
value_type   
)
void osg::Matrixf::makeTranslate ( const Vec3f )

Here is the caller graph for this function:

void osg::Matrixf::makeTranslate ( const Vec3d )
void osg::Matrixf::makeTranslate ( value_type  ,
value_type  ,
value_type   
)
void osg::Matrixf::mult ( const Matrixf ,
const Matrixf  
)

Here is the caller graph for this function:

bool osg::Matrixf::operator!= ( const Matrixf m) const
inline

Definition at line 51 of file Matrixf.h.

value_type& osg::Matrixf::operator() ( int  row,
int  col 
)
inline

Definition at line 53 of file Matrixf.h.

value_type osg::Matrixf::operator() ( int  row,
int  col 
) const
inline

Definition at line 54 of file Matrixf.h.

Vec3f osg::Matrixf::operator* ( const Vec3f v) const
inline

Definition at line 909 of file Matrixf.h.

Here is the call graph for this function:

Vec3d osg::Matrixf::operator* ( const Vec3d v) const
inline

Definition at line 913 of file Matrixf.h.

Here is the call graph for this function:

Vec4f osg::Matrixf::operator* ( const Vec4f v) const
inline

Definition at line 917 of file Matrixf.h.

Here is the call graph for this function:

Vec4d osg::Matrixf::operator* ( const Vec4d v) const
inline

Definition at line 921 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::operator* ( const Matrixf m) const
inline

Definition at line 395 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::operator* ( value_type  rhs) const
inline

Multiply by scalar.

Definition at line 403 of file Matrixf.h.

void osg::Matrixf::operator*= ( const Matrixf other)
inline

Definition at line 387 of file Matrixf.h.

Matrixf& osg::Matrixf::operator*= ( value_type  rhs)
inline

Unary multiply by scalar.

Definition at line 413 of file Matrixf.h.

Matrixf osg::Matrixf::operator+ ( const Matrixf rhs) const
inline

Binary vector add.

Definition at line 467 of file Matrixf.h.

Matrixf& osg::Matrixf::operator+= ( const Matrixf rhs)
inline

Unary vector add. Slightly more efficient because no temporary intermediate object.

Definition at line 491 of file Matrixf.h.

Matrixf osg::Matrixf::operator/ ( value_type  rhs) const
inline

Divide by scalar.

Definition at line 435 of file Matrixf.h.

Matrixf& osg::Matrixf::operator/= ( value_type  rhs)
inline

Unary divide by scalar.

Definition at line 445 of file Matrixf.h.

bool osg::Matrixf::operator< ( const Matrixf m) const
inline

Definition at line 49 of file Matrixf.h.

Matrixf& osg::Matrixf::operator= ( const Matrixf rhs)
inline

Definition at line 62 of file Matrixf.h.

Here is the call graph for this function:

Matrixf& osg::Matrixf::operator= ( const Matrixd other)
bool osg::Matrixf::operator== ( const Matrixf m) const
inline

Definition at line 50 of file Matrixf.h.

Matrixf osg::Matrixf::ortho ( double  left,
double  right,
double  bottom,
double  top,
double  zNear,
double  zFar 
)
inlinestatic

Create an orthographic projection matrix. See glOrtho for further details.

Definition at line 656 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::ortho2D ( double  left,
double  right,
double  bottom,
double  top 
)
inlinestatic

Create a 2D orthographic projection. See glOrtho for further details.

Definition at line 665 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::orthoNormal ( const Matrixf matrix)
inlinestatic

Definition at line 649 of file Matrixf.h.

Here is the call graph for this function:

void osg::Matrixf::orthoNormalize ( const Matrixf rhs)

ortho-normalize the 3x3 rotation & scale matrix

Here is the caller graph for this function:

Matrixf osg::Matrixf::perspective ( double  fovy,
double  aspectRatio,
double  zNear,
double  zFar 
)
inlinestatic

Create a symmetrical perspective projection. See gluPerspective for further details. Aspect ratio is defined as width/height.

Definition at line 682 of file Matrixf.h.

Here is the call graph for this function:

Vec3f osg::Matrixf::postMult ( const Vec3f v) const
inline

Definition at line 704 of file Matrixf.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Vec3d osg::Matrixf::postMult ( const Vec3d v) const
inline

Definition at line 711 of file Matrixf.h.

Here is the call graph for this function:

Vec4f osg::Matrixf::postMult ( const Vec4f v) const
inline

Definition at line 734 of file Matrixf.h.

Here is the call graph for this function:

Vec4d osg::Matrixf::postMult ( const Vec4d v) const
inline

Definition at line 741 of file Matrixf.h.

Here is the call graph for this function:

void osg::Matrixf::postMult ( const Matrixf )
void osg::Matrixf::postMultRotate ( const Quat q)
inline

Optimized version of postMult(rotate(q));

Definition at line 883 of file Matrixf.h.

Here is the call graph for this function:

void osg::Matrixf::postMultScale ( const Vec3d v)
inline

Optimized version of postMult(scale(v));

Definition at line 859 of file Matrixf.h.

Here is the caller graph for this function:

void osg::Matrixf::postMultScale ( const Vec3f v)
inline

Definition at line 866 of file Matrixf.h.

void osg::Matrixf::postMultTranslate ( const Vec3d v)
inline

Optimized version of postMult(translate(v));

Definition at line 817 of file Matrixf.h.

Here is the caller graph for this function:

void osg::Matrixf::postMultTranslate ( const Vec3f v)
inline

Definition at line 831 of file Matrixf.h.

Vec3f osg::Matrixf::preMult ( const Vec3f v) const
inline

Definition at line 719 of file Matrixf.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Vec3d osg::Matrixf::preMult ( const Vec3d v) const
inline

Definition at line 726 of file Matrixf.h.

Here is the call graph for this function:

Vec4f osg::Matrixf::preMult ( const Vec4f v) const
inline

Definition at line 749 of file Matrixf.h.

Here is the call graph for this function:

Vec4d osg::Matrixf::preMult ( const Vec4d v) const
inline

Definition at line 756 of file Matrixf.h.

Here is the call graph for this function:

void osg::Matrixf::preMult ( const Matrixf )
void osg::Matrixf::preMultRotate ( const Quat q)
inline

Optimized version of preMult(rotate(q));

Definition at line 874 of file Matrixf.h.

Here is the call graph for this function:

void osg::Matrixf::preMultScale ( const Vec3d v)
inline

Optimized version of preMult(scale(v));

Definition at line 845 of file Matrixf.h.

Here is the caller graph for this function:

void osg::Matrixf::preMultScale ( const Vec3f v)
inline

Definition at line 852 of file Matrixf.h.

void osg::Matrixf::preMultTranslate ( const Vec3d v)
inline

Optimized version of preMult(translate(v));

Definition at line 789 of file Matrixf.h.

Here is the caller graph for this function:

void osg::Matrixf::preMultTranslate ( const Vec3f v)
inline

Definition at line 803 of file Matrixf.h.

value_type* osg::Matrixf::ptr ( )
inline

Definition at line 92 of file Matrixf.h.

Here is the caller graph for this function:

const value_type* osg::Matrixf::ptr ( ) const
inline

Definition at line 93 of file Matrixf.h.

Matrixf osg::Matrixf::rotate ( const Vec3f from,
const Vec3f to 
)
inlinestatic

Definition at line 629 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::rotate ( const Vec3d from,
const Vec3d to 
)
inlinestatic

Definition at line 635 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::rotate ( value_type  angle,
value_type  x,
value_type  y,
value_type  z 
)
inlinestatic

Definition at line 595 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::rotate ( value_type  angle,
const Vec3f axis 
)
inlinestatic

Definition at line 601 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::rotate ( value_type  angle,
const Vec3d axis 
)
inlinestatic

Definition at line 607 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::rotate ( value_type  angle1,
const Vec3f axis1,
value_type  angle2,
const Vec3f axis2,
value_type  angle3,
const Vec3f axis3 
)
inlinestatic

Definition at line 613 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::rotate ( value_type  angle1,
const Vec3d axis1,
value_type  angle2,
const Vec3d axis2,
value_type  angle3,
const Vec3d axis3 
)
inlinestatic

Definition at line 621 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::rotate ( const Quat quat)
inlinestatic

Definition at line 591 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::scale ( const Vec3f sv)
inlinestatic

Definition at line 564 of file Matrixf.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Matrixf osg::Matrixf::scale ( const Vec3d sv)
inlinestatic

Definition at line 569 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::scale ( value_type  sx,
value_type  sy,
value_type  sz 
)
inlinestatic

Definition at line 557 of file Matrixf.h.

Here is the call graph for this function:

void osg::Matrixf::set ( const Matrixf rhs)
inline

Definition at line 71 of file Matrixf.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void osg::Matrixf::set ( const Matrixd rhs)
void osg::Matrixf::set ( float const *const  ptr)
inline

Definition at line 75 of file Matrixf.h.

void osg::Matrixf::set ( double const *const  ptr)
inline

Definition at line 81 of file Matrixf.h.

void osg::Matrixf::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 
)
void osg::Matrixf::setRotate ( const Quat q)

Here is the caller graph for this function:

void osg::Matrixf::setTrans ( value_type  tx,
value_type  ty,
value_type  tz 
)
void osg::Matrixf::setTrans ( const Vec3f v)
void osg::Matrixf::setTrans ( const Vec3d v)
Vec3f osg::Matrixf::transform3x3 ( const Vec3f v,
const Matrixf m 
)
inlinestatic

apply a 3x3 transform of v*M[0..2,0..2].

Definition at line 763 of file Matrixf.h.

Here is the call graph for this function:

Vec3d osg::Matrixf::transform3x3 ( const Vec3d v,
const Matrixf m 
)
inlinestatic

apply a 3x3 transform of v*M[0..2,0..2].

Definition at line 769 of file Matrixf.h.

Here is the call graph for this function:

Vec3f osg::Matrixf::transform3x3 ( const Matrixf m,
const Vec3f v 
)
inlinestatic

apply a 3x3 transform of M[0..2,0..2]*v.

Definition at line 776 of file Matrixf.h.

Here is the call graph for this function:

Vec3d osg::Matrixf::transform3x3 ( const Matrixf m,
const Vec3d v 
)
inlinestatic

apply a 3x3 transform of M[0..2,0..2]*v.

Definition at line 782 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::translate ( const Vec3f dv)
inlinestatic

Definition at line 581 of file Matrixf.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Matrixf osg::Matrixf::translate ( const Vec3d dv)
inlinestatic

Definition at line 586 of file Matrixf.h.

Here is the call graph for this function:

Matrixf osg::Matrixf::translate ( value_type  x,
value_type  y,
value_type  z 
)
inlinestatic

Definition at line 574 of file Matrixf.h.

Here is the call graph for this function:

bool osg::Matrixf::valid ( ) const
inline

Definition at line 56 of file Matrixf.h.

Here is the call graph for this function:

Member Data Documentation

value_type osg::Matrixf::_mat[4][4]
protected

Definition at line 513 of file Matrixf.h.


The documentation for this class was generated from the following file: