Ravelin
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Ravelin::TRANSFORM2 Class Reference

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
 
TRANSFORM2set_identity ()
 
TRANSFORM2invert ()
 
TRANSFORM2 inverse () const
 
TRANSFORM2set (const ROT2 &r, const ORIGIN2 &v)
 
TRANSFORM2set (const ROT2 &r)
 
TRANSFORM2operator= (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
 
TRANSFORM2set_identity ()
 
TRANSFORM2invert ()
 
TRANSFORM2 inverse () const
 
TRANSFORM2set (const ROT2 &r, const ORIGIN2 &v)
 
TRANSFORM2set (const ROT2 &r)
 
TRANSFORM2operator= (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 POSE2source
 the source pose
 
boost::shared_ptr< const POSE2target
 the target pose
 

Detailed Description

A transformation between 2D rigid body poses.


The documentation for this class was generated from the following files: