Public Member Functions | |
Transform () | |
Transform (const Vector3 &translation) | |
Transform (const Orient &rotation) | |
Transform (const Quat4 &rotation) | |
Transform (const Matrix3 &rotation) | |
Transform (const Vector3 &translation, const Orient &rotation) | |
Transform (const Vector3 &translation, const Quat4 &rotation) | |
Transform (const Vector3 &translation, const Matrix3 &rotation) | |
Transform (const Matrix4 &t) | |
Transform (const Transform &tr) | |
~Transform () | |
Transform & | operator= (const Transform &t) |
bool | operator== (const Transform &rhs) const |
bool | equals (const Transform &rhs, Real epsilon=consts::epsilon) const throw () |
Matrix4 | getTransform () const |
void | setIdentity () |
void | setToRotation (const Vector3 &axis, Real angle) |
void | setToRotation (const Quat4 &orient) |
void | setRotationComponent (const Vector3 &axis, Real angle) |
void | setRotationComponent (const Quat4 &orient) |
void | setRotationComponent (const Orient &orient) |
void | setRotationComponent (const Matrix3 &rotation) |
void | setToTranslation (const Vector3 &trans) |
void | setTranslationComponent (const Vector3 &trans) |
void | setTransform (const Matrix4 &m) |
const Vector3 & | getTranslation () const |
const Orient & | getRotation () const |
bool | identity () const |
bool | isTransRotationOnly () const |
bool | containsRotation () const |
bool | containsTranslation () const |
Transform & | invert () |
inverse transformation | |
void | transformPoint (Point3 &p) const |
void | transformPoint (Point4 &p) const |
Point3 | transform (const Point3 &p) const |
Point4 | transform (const Point4 &p) const |
Point3 | rotate (const Point3 &p) const |
Point3 | translate (const Point3 &p) const |
Point3 | operator() (const Point3 &p) const |
Transform & | operator *= (const Transform &rhs) |
Protected Attributes | |
bool | isIdentity |
identity transform | |
bool | isPureTranslationRotation |
is not an arbitrary transform in t | |
bool | hasTranslation |
transform includes translation in trans (if not arbitrary) | |
bool | hasRotation |
transform includes rotation in axis & angle (if not arbitrary) | |
Orient | orient |
Vector3 | trans |
Matrix4 | t |
|
Definition at line 45 of file Transform. References isIdentity. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 147 of file Transform. References hasRotation, isIdentity, and isPureTranslationRotation. |
|
Definition at line 152 of file Transform. References hasTranslation, isIdentity, and isPureTranslationRotation. |
|
|
|
Definition at line 126 of file Transform. References hasRotation, isIdentity, isPureTranslationRotation, orient, base::Orient::setFromRotationComponent(), base::Orient::setIdentity(), and t. Referenced by base::operator<<(), and physics::PositionableOrientable::setConfiguration(). |
|
Referenced by base::operator<<(). |
|
Definition at line 115 of file Transform. References base::Matrix4::e(), hasTranslation, isIdentity, isPureTranslationRotation, base::Vector3::setZero(), t, and trans. Referenced by base::operator<<(), and physics::PositionableOrientable::setConfiguration(). |
|
Definition at line 137 of file Transform. References isIdentity. Referenced by base::operator<<(). |
|
inverse transformation
|
|
Definition at line 142 of file Transform. References isIdentity, and isPureTranslationRotation. Referenced by base::operator<<(). |
|
|
|
Definition at line 94 of file Transform. References base::Point3, and transform(). |
|
|
|
|
|
|
|
Definition at line 65 of file Transform. References isIdentity. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 164 of file Transform. References base::Point4, and transformPoint(). |
|
Definition at line 159 of file Transform. References base::Point3, and transformPoint(). Referenced by physics::DynamicSpatial::getRelPointPos(), and operator()(). |
|
|
|
Referenced by transform(). |
|
|
|
transform includes rotation in axis & angle (if not arbitrary)
Definition at line 104 of file Transform. Referenced by containsRotation(), and getRotation(). |
|
transform includes translation in trans (if not arbitrary)
Definition at line 103 of file Transform. Referenced by containsTranslation(), and getTranslation(). |
|
identity transform
Definition at line 101 of file Transform. Referenced by containsRotation(), containsTranslation(), getRotation(), getTranslation(), identity(), isTransRotationOnly(), setIdentity(), and Transform(). |
|
is not an arbitrary transform in t
Definition at line 102 of file Transform. Referenced by containsRotation(), containsTranslation(), getRotation(), getTranslation(), and isTransRotationOnly(). |
|
Definition at line 106 of file Transform. Referenced by getRotation(). |
|
Definition at line 108 of file Transform. Referenced by getRotation(), and getTranslation(). |
|
Definition at line 107 of file Transform. Referenced by getTranslation(). |