OETranslation

class OETranslation : public OETransBase

This class represents OETranslation.

The OETranslation class performs Cartesian translation.

The following methods are publicly inherited from OETransBase:

CreateCopy

GetInverse

Extract

Transform

Constructors

OETranslation()
OETranslation(const float *vec)
OETranslation(const double *vec)
OETranslation(float dx, float dy, float dz)
OETranslation(double dx, double dy, double dz)

Default and copy constructors.

operator=

OETranslation &operator=(const float *vec)
OETranslation &operator=(const double *vec)

operator+=

OETranslation &operator+=(const OETranslation &rhs)

CreateCopy

OETransBase *CreateCopy() const

Deep copy constructor that returns a copy of the object. The memory for the returned OETranslation 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

GetTranslation

void GetTranslation(float *vec) const
void GetTranslation(double *vec) const