class csReversibleTransform : public csTransform A class which defines a reversible transformation from one coordinate system to another by maintaining an inverse transformation matrix
| | csReversibleTransform (const csTransform& t) Initialize with the given transformation |
| | csReversibleTransform () Initialize with the identity transformation |
| | csReversibleTransform (const csMatrix3& o2t, const csVector3& pos) Initialize with the given transformation |
| | GetInverse () Get the inverse of this transform |
| | GetT2O () Get 'this' to 'other' transformation matrix |
| | GetT2OTranslation () Get 'this' to 'other' translation |
| | operator* (const csReversibleTransform& t1, const csReversibleTransform& t2) Combine two transforms, with the rightmost being applied first. |
| | operator* (const csTransform& t1, const csReversibleTransform& t2) Combine two transforms, with the rightmost being applied first. |
| | operator*= (csReversibleTransform& t1, const csReversibleTransform& t2) Combine two transforms, with the rightmost being applied first. |
| | operator/ (const csPlane& p, const csReversibleTransform& t) Reverse a transformation on a Plane. |
| | operator/ (const csVector3& v, const csReversibleTransform& t) Reverse a transformation on a 3D vector. |
| | operator/ (const csReversibleTransform& t1, const csReversibleTransform& t2) Combine two transforms, reversing t2 then applying t1. |
| | operator/= (csVector3& v, const csReversibleTransform& t) Reverse a transformation on a 3D vector. |
| | operator/= (csReversibleTransform& t1, const csReversibleTransform& t2) Combine two transforms, reversing t2 then applying t1. |
| | operator/= (csPlane& p, const csReversibleTransform& t) Reverse a transformation on a Plane. |
| | SetO2T (const csMatrix3& m) Set 'other' to 'this' transformation matrix |
| | SetT2O (const csMatrix3& m) Set 'this' to 'other' transformation matrix |
| | This2Other (const csVector3& v) Convert vector v in 'this' space to 'other' space |
| | This2Other (const csPlane& p, const csVector3& point, csPlane& result) Convert a plane in 'this' space to 'other' space |
| | This2Other (const csPlane& p) Convert a plane in 'this' space to 'other' space |
| | This2OtherRelative (const csVector3& v) Convert vector v in 'this' space to a vector in 'other' space, relative to local origin |
| | m_t2o Inverse transformation matrix ('this' to 'other' space). |
| | csReversibleTransform (const csMatrix3& o2t, const csMatrix3& t2o, const csVector3& pos) Initialize transform with both transform matrix and inverse tranform |
A class which defines a reversible transformation from one coordinate system to another by maintaining an inverse transformation matrix. This version is similar to csTransform (in fact, it is a sub-class) but it is more efficient if you plan to do inverse transformations often.
csReversibleTransform(const csMatrix3& o2t, const csMatrix3& t2o, const csVector3& pos)
csReversibleTransform()
csReversibleTransform(const csMatrix3& o2t, const csVector3& pos)
csReversibleTransform(const csTransform& t)
inline const csMatrix3& GetT2O()
inline csVector3 GetT2OTranslation()
csReversibleTransform GetInverse()
virtual void SetO2T(const csMatrix3& m)
virtual void SetT2O(const csMatrix3& m)
csVector3 This2Other(const csVector3& v)
inline csVector3 This2OtherRelative(const csVector3& v)
csPlane This2Other(const csPlane& p)
void This2Other(const csPlane& p, const csVector3& point, csPlane& result)
friend csVector3 operator/ (const csVector3& v, const csReversibleTransform& t)
friend csVector3& operator/= (csVector3& v, const csReversibleTransform& t)
friend csPlane operator/ (const csPlane& p, const csReversibleTransform& t)
friend csPlane& operator/= (csPlane& p, const csReversibleTransform& t)
friend csReversibleTransform& operator*= (csReversibleTransform& t1, const csReversibleTransform& t2)
friend csReversibleTransform operator* (const csReversibleTransform& t1, const csReversibleTransform& t2)
friend csTransform operator* (const csTransform& t1, const csReversibleTransform& t2)
friend csReversibleTransform& operator/= (csReversibleTransform& t1, const csReversibleTransform& t2)
friend csReversibleTransform operator/ (const csReversibleTransform& t1, const csReversibleTransform& t2)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de