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)

Default and copy constructors.

operator=

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

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

_Extract

template<class T, class U>
void _Extract(T *rmat, U *trans) const