H3D::ArithmeticTypes::Matrix3d Class Reference
[Basic types.]

Representation of a 3x3 matrix. More...

#include <Matrix3d.h>

List of all members.

Public Member Functions

 H3D_API_EXCEPTION (SingularMatrix3d)
 Thrown when trying to perform operations on a singular matrix that are not allowed.
 Matrix3d ()
 Constructor. Creates an identity matrix.
 Matrix3d (H3DDouble m00, H3DDouble m01, H3DDouble m02, H3DDouble m10, H3DDouble m11, H3DDouble m12, H3DDouble m20, H3DDouble m21, H3DDouble m22)
 Constructor.
 Matrix3d (const Matrix3f &matrix)
 Conversion from Matrix3f.
 Matrix3d (const Rotation &r)
 Constructor. From Rotation object.
 Matrix3d (const Quaternion &q)
 Constructor. From Quaternion object.
void setToIdentity ()
 Set the Matrix3d to the identity matrix.
Matrix3d transpose () const
 Returns the transpose of the matrix.
Matrix3d inverse () const
 Returns the inverse of the matrix.
H3DDoubleoperator[] (int i)
 Get a row of the matrix.
const H3DDoubleoperator[] (int i) const
 Get a row of the matrix.
Vec3d getRow (int i) const
 Get a row of the matrix.
H3DDouble getElement (int i, int j) const
 Get an element in the matrix.
void setElement (int i, int j, H3DDouble v)
 Set an element in the matrix.
Vec3d toEulerAngles ()
 Get the euler angles( yaw, pitch, roll ) representation of the rotation matrix.
Vec3d getColumn (int i) const
 Get a column of the matrix.
Vec3d getScalePart () const
 Get the scaling part of the matrix for each axis.


Detailed Description

Representation of a 3x3 matrix.


Member Function Documentation

Vec3d H3D::ArithmeticTypes::Matrix3d::toEulerAngles  ) 
 

Get the euler angles( yaw, pitch, roll ) representation of the rotation matrix.

The Matrix3d must be a rotation matrix.


Generated on Thu Aug 24 12:40:32 2006 for H3D API by  doxygen 1.4.5