OpenSim::PointForceDirection Class Reference

Convenience class for a generic representation of geomtery of a complex Force (or any other object) with multiple points of contact through which forces are applied to bodies. More...

#include <PointForceDirection.h>

List of all members.

Public Member Functions

virtual ~PointForceDirection ()
 PointForceDirection (SimTK::Vec3 point, Body &body, SimTK::Vec3 direction, double scale=1)
 Default constructor takes the point, body, direction and scale as arguments.
SimTK::Vec3 point ()
 get point of "conact" with on a body defined in the body frame
const Bodybody ()
 get the body in which the point is defined
SimTK::Vec3 direction ()
 get direction of the force at the point defined in ground
double scale ()
 get the scale factor on the force
void addToDirection (SimTK::Vec3 newDirection)
 replace the current direction with the resultant with a new direction

Detailed Description

Convenience class for a generic representation of geomtery of a complex Force (or any other object) with multiple points of contact through which forces are applied to bodies.

This represents one such point and an array of these objects defines a complete Force distrbitution (ie. path).

Author:
Ajay Seth
Version:
1.0

Constructor & Destructor Documentation

virtual OpenSim::PointForceDirection::~PointForceDirection (  )  [inline, virtual]
OpenSim::PointForceDirection::PointForceDirection ( SimTK::Vec3  point,
Body body,
SimTK::Vec3  direction,
double  scale = 1 
) [inline]

Default constructor takes the point, body, direction and scale as arguments.


Member Function Documentation

void OpenSim::PointForceDirection::addToDirection ( SimTK::Vec3  newDirection  )  [inline]

replace the current direction with the resultant with a new direction

const Body& OpenSim::PointForceDirection::body (  )  [inline]

get the body in which the point is defined

SimTK::Vec3 OpenSim::PointForceDirection::direction (  )  [inline]

get direction of the force at the point defined in ground

SimTK::Vec3 OpenSim::PointForceDirection::point (  )  [inline]

get point of "conact" with on a body defined in the body frame

double OpenSim::PointForceDirection::scale (  )  [inline]

get the scale factor on the force


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

Generated on Sun Sep 25 00:20:00 2011 for OpenSim by  doxygen 1.6.1