csOrthoTransform Class Reference
[Geometry utilities]
A class which defines a reversible transformation from one coordinate system to another by maintaining an inverse transformation matrix.
More...
#include <csgeom/transfrm.h>
Inheritance diagram for csOrthoTransform:

Public Member Functions | |
csOrthoTransform (const csTransform &t) | |
Initialize with the given transformation. | |
csOrthoTransform (const csMatrix3 &o2t, const csVector3 &pos) | |
Initialize with the given transformation. | |
csOrthoTransform () | |
Initialize with the identity transformation. | |
virtual void | SetO2T (const csMatrix3 &m) |
Set 'other' to 'this' transformation matrix. | |
virtual void | SetT2O (const csMatrix3 &m) |
Set 'this' to 'other' transformation matrix. |
Detailed Description
A class which defines a reversible transformation from one coordinate system to another by maintaining an inverse transformation matrix.This is a variant which only works on orthonormal transformations (like the camera transformation) and is consequently much more optimal.
Definition at line 607 of file transfrm.h.
Constructor & Destructor Documentation
|
Initialize with the identity transformation.
Definition at line 613 of file transfrm.h. |
|
Initialize with the given transformation.
Definition at line 618 of file transfrm.h. |
|
Initialize with the given transformation.
Definition at line 624 of file transfrm.h. |
Member Function Documentation
|
Set 'other' to 'this' transformation matrix. This is the 3x3 matrix M from the transform equation T=M*(O-V). Reimplemented from csReversibleTransform. Definition at line 633 of file transfrm.h. References csMatrix3::GetTranspose(), csTransform::m_o2t, and csReversibleTransform::m_t2o. |
|
Set 'this' to 'other' transformation matrix. This is equivalent to SetO2T() except that you can now give the inverse matrix. Reimplemented from csReversibleTransform. Definition at line 641 of file transfrm.h. References csMatrix3::GetTranspose(), csTransform::m_o2t, and csReversibleTransform::m_t2o. |
The documentation for this class was generated from the following file:
- csgeom/transfrm.h
Generated for Crystal Space by doxygen 1.4.4