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

A 2D rigid body pose. More...

#include <Pose2d.h>

Inheritance diagram for Ravelin::POSE2:

Public Member Functions

 POSE2 (const POSE2 &source)
 
 POSE2 (const ROT2 &r, const ORIGIN2 &x, boost::shared_ptr< const POSE2 > relative_pose=boost::shared_ptr< const POSE2 >())
 
 POSE2 (const ORIGIN2 &x, boost::shared_ptr< const POSE2 > relative_pose=boost::shared_ptr< const POSE2 >())
 
 POSE2 (const ROT2 &r, boost::shared_ptr< const POSE2 > relative_pose=boost::shared_ptr< const POSE2 >())
 
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
 
POSE2set_identity ()
 
POSE2invert ()
 
POSE2 inverse () const
 
POSE2set (const ROT2 &r, const ORIGIN2 &v)
 
POSE2set (const ROT2 &r)
 
POSE2operator= (const POSE2 &source)
 
POSE2 operator* (const POSE2 &m) const
 
 POSE2 (const POSE2 &source)
 
 POSE2 (const ROT2 &r, const ORIGIN2 &x, boost::shared_ptr< const POSE2 > relative_pose=boost::shared_ptr< const POSE2 >())
 
 POSE2 (const ORIGIN2 &x, boost::shared_ptr< const POSE2 > relative_pose=boost::shared_ptr< const POSE2 >())
 
 POSE2 (const ROT2 &r, boost::shared_ptr< const POSE2 > relative_pose=boost::shared_ptr< const POSE2 >())
 
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
 
POSE2set_identity ()
 
POSE2invert ()
 
POSE2 inverse () const
 
POSE2set (const ROT2 &r, const ORIGIN2 &v)
 
POSE2set (const ROT2 &r)
 
POSE2operator= (const POSE2 &source)
 
POSE2 operator* (const POSE2 &m) const
 

Static Public Member Functions

static POSE2 identity ()
 
static REAL wrap (REAL theta)
 
static bool rel_equal (const POSE2 &p1, const POSE2 &p2, REAL tol=EPS)
 
static VECTOR2 transform_point (boost::shared_ptr< const POSE2 > target, const VECTOR2 &v)
 
static VECTOR2 transform_vector (boost::shared_ptr< const POSE2 > target, const VECTOR2 &v)
 
static POSE2 invert (const POSE2 &m)
 
static VECTOR2 interpolate_transform_vector (const POSE2 &P1, const POSE2 &P2, REAL t, const ORIGIN2 &o)
 
static VECTOR2 interpolate_transform_point (const POSE2 &P1, const POSE2 &P2, REAL t, const ORIGIN2 &o)
 
static POSE2 identity ()
 
static REAL wrap (REAL theta)
 
static bool rel_equal (const POSE2 &p1, const POSE2 &p2, REAL tol=EPS)
 
static VECTOR2 transform_point (boost::shared_ptr< const POSE2 > target, const VECTOR2 &v)
 
static VECTOR2 transform_vector (boost::shared_ptr< const POSE2 > target, const VECTOR2 &v)
 
static POSE2 invert (const POSE2 &m)
 
static VECTOR2 interpolate_transform_vector (const POSE2 &P1, const POSE2 &P2, REAL t, const ORIGIN2 &o)
 
static VECTOR2 interpolate_transform_point (const POSE2 &P1, const POSE2 &P2, 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 POSE2rpose
 the pose that this pose is relative to (if any)
 

Detailed Description

A 2D rigid body pose.


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