Limb Class Reference

#include <PoseModeling.h>

Inheritance diagram for Limb:

Inheritance graph
[legend]
Collaboration diagram for Limb:

Collaboration graph
[legend]
List of all members.

Detailed Description

Models a limb of the body.


Public Member Functions

 Limb (int o, int a1, int a2)
 Initializes the limb with the given marker indices.
point const & Marker (int m) const
 Returns the origin, axis1 and axis2 marker positions.
point const & Axis (int i) const
 Returns the Axis markers.
void Load (const point &origin, const point &x_axis, const point &y_axis)
void SetXAxis (const point &x_axis)
void SetYAxis (const point &y_axis)
void Calculate ()
 Given loaded o, x, y, the correct rotation matrix is constucted.
void Transform (LimbBase const &l)
 Transforms this limb into another limb's coordinate system.
void Copy (LimbBase const &l)
 Copies values from another LimbBase.

Protected Member Functions

void Load (pvector const &frame)
 Loads the origin, axis1 and axis2 marker positions into origin, x, and y.

Protected Attributes

point marker [2]

Friends

class PoseModel
class Front


Member Data Documentation

point marker[2] [protected, inherited]

world cordinate marker positions loaded from most recent frame For the Joint class, these will transform into the proximal limbs coordinate system. For the Limb class, they will not change.


The documentation for this class was generated from the following file:
Generated on Tue Mar 6 17:57:17 2007 for AME Repository by  doxygen 1.5.1-p1