In file include/csgeom/transfrm.h:

class csOrthoTransform : public csReversibleTransform

A class which defines a reversible transformation from one coordinate system to another by maintaining an inverse transformation matrix

Inheritance:


Public Methods

csOrthoTransform (const csTransform& t)
Initialize with the given transformation
csOrthoTransform ()
Initialize with the identity transformation
csOrthoTransform (const csMatrix3& o2t, const csVector3& pos)
Initialize with the given 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

Inherited from csReversibleTransform:

Public Methods

csReversibleTransform GetInverse()
inline const csMatrix3& GetT2O()
inline csVector3 GetT2OTranslation()
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 csPlane operator/ (const csPlane& p, const csReversibleTransform& t)
friend csVector3 operator/ (const csVector3& v, const csReversibleTransform& t)
friend csReversibleTransform operator/ (const csReversibleTransform& t1, const csReversibleTransform& t2)
friend csVector3& operator/= (csVector3& v, const csReversibleTransform& t)
friend csReversibleTransform& operator/= (csReversibleTransform& t1, const csReversibleTransform& t2)
friend csPlane& operator/= (csPlane& p, const csReversibleTransform& t)
csPlane This2Other(const csPlane& p)
void This2Other(const csPlane& p, const csVector3& point, csPlane& result)
csVector3 This2Other(const csVector3& v)
inline csVector3 This2OtherRelative(const csVector3& v)

Protected Fields

csMatrix3 m_t2o

Inherited from csTransform:

Public Methods

inline const csMatrix3& GetO2T()
inline const csVector3& GetO2TTranslation()
inline const csVector3& GetOrigin()
static csTransform GetReflect(const csPlane& pl)
csPlane Other2This(const csPlane& p)
inline csVector3 Other2This(const csVector3& v)
void Other2This(const csPlane& p, const csVector3& point, csPlane& result)
csVector3 Other2ThisRelative(const csVector3& v)
inline void SetO2TTranslation(const csVector3& v)
inline void SetOrigin(const csVector3& v)
inline void Translate(const csVector3& v)

Protected Fields

csMatrix3 m_o2t
csVector3 v_o2t

Documentation

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.
csOrthoTransform()
Initialize with the identity transformation

csOrthoTransform(const csMatrix3& o2t, const csVector3& pos)
Initialize with the given transformation

csOrthoTransform(const csTransform& t)
Initialize with the given 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


Direct child classes:
csCamera

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de