oops::HingeJoint Class Reference

#include <Joints.h>

Inherits oops::Joint.

Collaboration diagram for oops::HingeJoint:

List of all members.


Public Member Functions

 HingeJoint (unsigned anchorObject, gmtl::Vec3f offset, gmtl::Vec3f axis)
 HingeJoint (unsigned id, RigidBody *obj1, RigidBody *obj2, gmtl::Vec3f position, gmtl::Vec3f axis)
virtual Jointclone ()
virtual void setODEParameter (int attrib, double value)
virtual void build (dWorldID world)
virtual void setMaxAngle (float angle)
virtual void setMinAngle (float angle)
float getMaxAngle ()
float getMinAngle ()
virtual float getAngle ()

Protected Attributes

unsigned anchorObject
gmtl::Vec3f offset
gmtl::Vec3f position
gmtl::Vec3f axis
bool maxAngleSet
bool minAngleSet
float maxAngle
float minAngle

Constructor & Destructor Documentation

HingeJoint::HingeJoint ( unsigned  anchorObject,
gmtl::Vec3f  offset,
gmtl::Vec3f  axis 
)

HingeJoint::HingeJoint ( unsigned  id,
RigidBody obj1,
RigidBody obj2,
gmtl::Vec3f  position,
gmtl::Vec3f  axis 
)


Member Function Documentation

void HingeJoint::build ( dWorldID  world  )  [virtual]

Implements oops::Joint.

Joint * HingeJoint::clone (  )  [virtual]

Implements oops::Joint.

float HingeJoint::getAngle (  )  [virtual]

float HingeJoint::getMaxAngle (  ) 

float HingeJoint::getMinAngle (  ) 

void HingeJoint::setMaxAngle ( float  angle  )  [virtual]

void HingeJoint::setMinAngle ( float  angle  )  [virtual]

void HingeJoint::setODEParameter ( int  attrib,
double  value 
) [virtual]

Implements oops::Joint.


Member Data Documentation

unsigned oops::HingeJoint::anchorObject [protected]

gmtl::Vec3f oops::HingeJoint::axis [protected]

float oops::HingeJoint::maxAngle [protected]

float oops::HingeJoint::minAngle [protected]

gmtl::Vec3f oops::HingeJoint::offset [protected]

gmtl::Vec3f oops::HingeJoint::position [protected]


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

Generated on Wed Oct 20 16:12:04 2010 for inVRs by doxygen 1.5.8