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::Matrixd Class Reference

#include <Matrixd.h>

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

Public Types

typedef double value_type
 
typedef float other_value_type
 

Public Member Functions

 Matrixd ()
 
 Matrixd (const Matrixd &mat)
 
 Matrixd (const Matrixf &mat)
 
 Matrixd (float const *const ptr)
 
 Matrixd (double const *const ptr)
 
 Matrixd (const Quat &quat)
 
 Matrixd (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)
 
 ~Matrixd ()
 
int compare (const Matrixd &m) const
 
bool operator< (const Matrixd &m) const
 
bool operator== (const Matrixd &m) const
 
bool operator!= (const Matrixd &m) const
 
value_typeoperator() (int row, int col)
 
value_type operator() (int row, int col) const
 
bool valid () const
 
bool isNaN () const
 
Matrixdoperator= (const Matrixd &rhs)
 
Matrixdoperator= (const Matrixf &other)
 
void set (const Matrixd &rhs)
 
void set (const Matrixf &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 Matrixd &rhs)
 
bool invert_4x3 (const Matrixd &rhs)
 
bool invert_4x4 (const Matrixd &rhs)
 
void orthoNormalize (const Matrixd &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 Matrixd &, const Matrixd &)
 
void preMult (const Matrixd &)
 
void postMult (const Matrixd &)
 
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 Matrixd &other)
 
Matrixd operator* (const Matrixd &m) const
 

Static Public Member Functions

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

Protected Attributes

value_type _mat [4][4]
 

Detailed Description

Definition at line 26 of file Matrixd.h.

Member Typedef Documentation

Definition at line 31 of file Matrixd.h.

typedef double osg::Matrixd::value_type

Definition at line 30 of file Matrixd.h.

Constructor & Destructor Documentation

osg::Matrixd::Matrixd ( )
inline

Definition at line 33 of file Matrixd.h.

Here is the caller graph for this function:

osg::Matrixd::Matrixd ( const Matrixd mat)
inline

Definition at line 34 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 36 of file Matrixd.h.

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

Definition at line 37 of file Matrixd.h.

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

Definition at line 38 of file Matrixd.h.

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

Definition at line 45 of file Matrixd.h.

Member Function Documentation

int osg::Matrixd::compare ( const Matrixd m) const
void osg::Matrixd::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::Matrixd::decompose ( osg::Vec3d translation,
osg::Quat rotation,
osg::Vec3d scale,
osg::Quat so 
) const

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

Matrixd osg::Matrixd::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 561 of file Matrixd.h.

Here is the call graph for this function:

bool osg::Matrixd::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::Matrixd::getFrustum ( float &  left,
float &  right,
float &  bottom,
float &  top,
float &  zNear,
float &  zFar 
) const

float version of getFrustum(..)

void osg::Matrixd::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.

Here is the caller graph for this function:

void osg::Matrixd::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::Matrixd::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::Matrixd::getOrtho ( float &  left,
float &  right,
float &  bottom,
float &  top,
float &  zNear,
float &  zFar 
) const

float version of getOrtho(..)

bool osg::Matrixd::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::Matrixd::getPerspective ( float &  fovy,
float &  aspectRatio,
float &  zNear,
float &  zFar 
) const

float version of getPerspective(..)

Quat osg::Matrixd::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::Matrixd::getScale ( ) const
inline

Definition at line 342 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 340 of file Matrixd.h.

Matrixd osg::Matrixd::identity ( void  )
inlinestatic

Definition at line 438 of file Matrixd.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 530 of file Matrixd.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

invert the matrix rhs, automatically select invert_4x3 or invert_4x4.

Definition at line 233 of file Matrixd.h.

Here is the caller graph for this function:

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

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

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

full 4x4 matrix invert.

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

Definition at line 95 of file Matrixd.h.

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

Definition at line 57 of file Matrixd.h.

Here is the call graph for this function:

Matrixd osg::Matrixd::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 578 of file Matrixd.h.

Here is the call graph for this function:

Matrixd osg::Matrixd::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 587 of file Matrixd.h.

Here is the call graph for this function:

void osg::Matrixd::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::Matrixd::makeIdentity ( )

Here is the caller graph for this function:

void osg::Matrixd::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::Matrixd::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::Matrixd::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 Matrixd.h.

Here is the caller graph for this function:

void osg::Matrixd::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::Matrixd::makeRotate ( const Vec3f from,
const Vec3f to 
)

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Definition at line 51 of file Matrixd.h.

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

Definition at line 53 of file Matrixd.h.

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

Definition at line 54 of file Matrixd.h.

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

Definition at line 807 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 812 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 817 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 822 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 393 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 385 of file Matrixd.h.

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

Definition at line 49 of file Matrixd.h.

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

Definition at line 62 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 50 of file Matrixd.h.

Matrixd osg::Matrixd::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 544 of file Matrixd.h.

Here is the call graph for this function:

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

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

Definition at line 553 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 537 of file Matrixd.h.

Here is the call graph for this function:

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

ortho-normalize the 3x3 rotation & scale matrix

Here is the caller graph for this function:

Matrixd osg::Matrixd::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 570 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 596 of file Matrixd.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 604 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 628 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 635 of file Matrixd.h.

Here is the call graph for this function:

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

Optimized version of postMult(rotate(q));

Definition at line 778 of file Matrixd.h.

Here is the call graph for this function:

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

Optimized version of postMult(scale(v));

Definition at line 755 of file Matrixd.h.

Here is the caller graph for this function:

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

Definition at line 762 of file Matrixd.h.

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

Optimized version of postMult(translate(v));

Definition at line 713 of file Matrixd.h.

Here is the caller graph for this function:

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

Definition at line 727 of file Matrixd.h.

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

Definition at line 612 of file Matrixd.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 620 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 643 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 651 of file Matrixd.h.

Here is the call graph for this function:

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

Optimized version of preMult(rotate(q));

Definition at line 769 of file Matrixd.h.

Here is the call graph for this function:

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

Optimized version of preMult(scale(v));

Definition at line 741 of file Matrixd.h.

Here is the caller graph for this function:

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

Definition at line 748 of file Matrixd.h.

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

Optimized version of preMult(translate(v));

Definition at line 685 of file Matrixd.h.

Here is the caller graph for this function:

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

Definition at line 699 of file Matrixd.h.

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

Definition at line 92 of file Matrixd.h.

Here is the caller graph for this function:

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

Definition at line 93 of file Matrixd.h.

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

Definition at line 517 of file Matrixd.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 523 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 483 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 489 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 495 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 501 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 509 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 479 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 452 of file Matrixd.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 457 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 445 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 71 of file Matrixd.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 75 of file Matrixd.h.

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

Definition at line 81 of file Matrixd.h.

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

Here is the caller graph for this function:

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

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

Definition at line 659 of file Matrixd.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

Definition at line 665 of file Matrixd.h.

Here is the call graph for this function:

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

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

Definition at line 672 of file Matrixd.h.

Here is the call graph for this function:

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

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

Definition at line 678 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 469 of file Matrixd.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 474 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 462 of file Matrixd.h.

Here is the call graph for this function:

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

Definition at line 56 of file Matrixd.h.

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 401 of file Matrixd.h.


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