Robot Simulator of the Robotics Group for Self-Organization of Control: TrackablePrimitive Class Reference

# TrackablePrimitive Class Reference

Inherits Trackable.

Collaboration diagram for TrackablePrimitive:
[legend]

List of all members.

## Public Member Functions
| TrackablePrimitive (Primitive *p, const std::string name)
virtual std::string | getTrackableName () const
| returns name of trackable
virtual Position | getPosition () const
| returns position of the object
virtual Position | getSpeed () const
| returns linear speed vector of the object
virtual Position | getAngularSpeed () const
| returns angular velocity vector of the object
virtual matrix::Matrix | getOrientation () const
| returns the orientation of the object
## Protected Attributes
Primitive * | p
std::string | name

## Constructor & Destructor Documentation

TrackablePrimitive | ( | Primitive * | p,
|  | const std::string | name |
| ) |  |  | `[inline]`

## Member Function Documentation

virtual Position getAngularSpeed | ( |  | ) | const`[inline, virtual]`

returns angular velocity vector of the object

Returns:
  vector (wx,wy,wz)

Implements Trackable.

virtual matrix::Matrix getOrientation | ( |  | ) | const`[inline, virtual]`

returns the orientation of the object

Returns:
  3x3 rotation matrix

Implements Trackable.

virtual Position getPosition | ( |  | ) | const`[inline, virtual]`

returns position of the object

Returns:
  vector of position (x,y,z)

Implements Trackable.

virtual Position getSpeed | ( |  | ) | const`[inline, virtual]`

returns linear speed vector of the object

Returns:
  vector (vx,vy,vz)

Implements Trackable.

virtual std::string getTrackableName | ( |  | ) | const`[inline, virtual]`

returns name of trackable

Implements Trackable.

## Member Data Documentation

std::string name`[protected]`

Primitive* p`[protected]`

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

- odeagent.cpp