OERotMatrix

class OERotMatrix : public OETransBase

This class represents OERotMatrix.

The OERotMatrix class performs rotation specified by a rotation matrix.

The following methods are publicly inherited from OETransBase:

CreateCopy

GetInverse

Extract

Transform

Constructors

OERotMatrix()
OERotMatrix(const float *mat)
OERotMatrix(const double *mat)
OERotMatrix(const OERotMatrix& rhs)

Default and copy constructors.

operator=

OERotMatrix &operator=(const float *mat)
OERotMatrix &operator=(const double *mat)
OERotMatrix &operator=(const OERotMatrix& rhs)

Assignment operator.

CreateCopy

OETransBase *CreateCopy() const

Deep copy constructor that returns a copy of the object. The memory for the returned OERotMatrix object is dynamically allocated and owned by the caller.

The returned copy should be deallocated using C++ delete operator in order to prevent a memory leak.

Extract

void Extract(float *r, float *t) const
void Extract(double *r, float *t) const
void Extract(float *r, double *t) const
void Extract(double *r, double *t) const

GetInverse

OETransBase *GetInverse() const

GetRotMatrix

void GetRotMatrix(float *mat) const
void GetRotMatrix(double *mat) const