Ravelin
|
A transformation between 2D rigid body poses. More...
#include <Transform2d.h>
Public Member Functions | |
TRANSFORM2 (const TRANSFORM2 &source) | |
TRANSFORM2 (const ROT2 &r, const ORIGIN2 &x) | |
TRANSFORM2 (const ORIGIN2 &x) | |
TRANSFORM2 (const ROT2 &r) | |
POSE2 | transform (const POSE2 &p) const |
POSE2 | inverse_transform (const POSE2 &p) const |
VECTOR2 | transform_point (const VECTOR2 &v) const |
VECTOR2 | transform_vector (const VECTOR2 &v) const |
VECTOR2 | inverse_transform_point (const VECTOR2 &v) const |
VECTOR2 | inverse_transform_vector (const VECTOR2 &v) const |
TRANSFORM2 & | set_identity () |
TRANSFORM2 & | invert () |
TRANSFORM2 | inverse () const |
TRANSFORM2 & | set (const ROT2 &r, const ORIGIN2 &v) |
TRANSFORM2 & | set (const ROT2 &r) |
TRANSFORM2 & | operator= (const TRANSFORM2 &source) |
TRANSFORM2 | operator* (const TRANSFORM2 &m) const |
TRANSFORM2 (const TRANSFORM2 &source) | |
TRANSFORM2 (const ROT2 &r, const ORIGIN2 &x) | |
TRANSFORM2 (const ORIGIN2 &x) | |
TRANSFORM2 (const ROT2 &r) | |
POSE2 | transform (const POSE2 &p) const |
POSE2 | inverse_transform (const POSE2 &p) const |
VECTOR2 | transform_point (const VECTOR2 &v) const |
VECTOR2 | transform_vector (const VECTOR2 &v) const |
VECTOR2 | inverse_transform_point (const VECTOR2 &v) const |
VECTOR2 | inverse_transform_vector (const VECTOR2 &v) const |
TRANSFORM2 & | set_identity () |
TRANSFORM2 & | invert () |
TRANSFORM2 | inverse () const |
TRANSFORM2 & | set (const ROT2 &r, const ORIGIN2 &v) |
TRANSFORM2 & | set (const ROT2 &r) |
TRANSFORM2 & | operator= (const TRANSFORM2 &source) |
TRANSFORM2 | operator* (const TRANSFORM2 &m) const |
Static Public Member Functions | |
static TRANSFORM2 | identity () |
static bool | rel_equal (const TRANSFORM2 &p1, const TRANSFORM2 &p2, REAL tol=EPS) |
static REAL | wrap (REAL theta) |
static TRANSFORM2 | invert (const TRANSFORM2 &m) |
static ORIGIN2 | interpolate_transform_vector (const TRANSFORM2 &T1, const TRANSFORM2 &T2, REAL t, const ORIGIN2 &o) |
static ORIGIN2 | interpolate_transform_point (const TRANSFORM2 &T1, const TRANSFORM2 &T2, REAL t, const ORIGIN2 &o) |
static ORIGIN2 | interpolate_inverse_transform_vector (const TRANSFORM2 &T1, const TRANSFORM2 &T2, REAL t, const ORIGIN2 &o) |
static ORIGIN2 | interpolate_inverse_transform_point (const TRANSFORM2 &T1, const TRANSFORM2 &T2, REAL t, const ORIGIN2 &o) |
static TRANSFORM2 | identity () |
static bool | rel_equal (const TRANSFORM2 &p1, const TRANSFORM2 &p2, REAL tol=EPS) |
static REAL | wrap (REAL theta) |
static TRANSFORM2 | invert (const TRANSFORM2 &m) |
static ORIGIN2 | interpolate_transform_vector (const TRANSFORM2 &T1, const TRANSFORM2 &T2, REAL t, const ORIGIN2 &o) |
static ORIGIN2 | interpolate_transform_point (const TRANSFORM2 &T1, const TRANSFORM2 &T2, REAL t, const ORIGIN2 &o) |
static ORIGIN2 | interpolate_inverse_transform_vector (const TRANSFORM2 &T1, const TRANSFORM2 &T2, REAL t, const ORIGIN2 &o) |
static ORIGIN2 | interpolate_inverse_transform_point (const TRANSFORM2 &T1, const TRANSFORM2 &T2, REAL t, const ORIGIN2 &o) |
Public Attributes | |
ROT2 | r |
the orientation of the pose frame | |
ORIGIN2 | x |
the position of the pose frame | |
boost::shared_ptr< const POSE2 > | source |
the source pose | |
boost::shared_ptr< const POSE2 > | target |
the target pose | |
A transformation between 2D rigid body poses.