A class to represent 2D transformations (rotation and translation) More...
#include <transformation2.hh>
Public Member Functions | |
Transformation2< T > | inv () const |
T | rotation () const |
void | setRotation (const T &theta) |
void | setTranslation (const Vector2< T > &t) |
void | setTranslation (const T &x, const T &y) |
Pose2< T > | toPoseType () const |
Transformation2 (bool initAsIdentity=true) | |
Transformation2 (const T &x, const T &y, const T &theta) | |
Transformation2 (const T &_theta, const Vector2< T > &trans) | |
Transformation2 (const Pose2< T > &v) | |
Vector2< T > | translation () const |
Static Public Member Functions | |
static Transformation2< T > | identity () |
Public Attributes | |
T | rotationMatrix [2][2] |
the rotation matrix More... | |
T | translationVector [2] |
the translation vector More... | |
A class to represent 2D transformations (rotation and translation)
Definition at line 161 of file transformation2.hh.
|
inline |
Default constructor
initAsIdentity | if true (default) the transormation is the identity, otherwise no initializtion |
Definition at line 168 of file transformation2.hh.
|
inline |
Constructor that sets the translation and rotation
Definition at line 184 of file transformation2.hh.
|
inline |
Constructor that sets the translation and rotation
Definition at line 190 of file transformation2.hh.
|
inline |
Copy constructor
Definition at line 197 of file transformation2.hh.
|
inlinestatic |
Definition at line 178 of file transformation2.hh.
|
inline |
Computes the inveres of the transformation
Definition at line 241 of file transformation2.hh.
|
inline |
Get the rotation
Definition at line 210 of file transformation2.hh.
|
inline |
Set the rotation
Definition at line 228 of file transformation2.hh.
|
inline |
Set the translation
Definition at line 223 of file transformation2.hh.
|
inline |
Set the translation
Definition at line 235 of file transformation2.hh.
|
inline |
Computed the Pose based on the translation and rotation
Definition at line 215 of file transformation2.hh.
|
inline |
Get the translation
Definition at line 204 of file transformation2.hh.
T AISNavigation::Transformation2< T >::rotationMatrix[2][2] |
the rotation matrix
Definition at line 162 of file transformation2.hh.
T AISNavigation::Transformation2< T >::translationVector[2] |
the translation vector
Definition at line 163 of file transformation2.hh.