Gazebo logo

Joint Class Reference

#include <Joint.hh>

Inheritance diagram for Joint:

BallJoint Hinge2Joint HingeJoint SliderJoint UniversalJoint List of all members.

Public Member Functions

int GetType () const
BodyGetJointBody (int index) const
bool AreConnected (Body *one, Body *two) const
virtual double GetParam (int parameter) const
void SetFixed ()
void Attach (Body *one, Body *two)
void Detach ()
virtual void SetAnchor (GzVector anchor)
virtual GzVector GetAnchor () const
virtual void SetParam (int parameter, double value)

Protected Member Functions

 Joint ()
virtual ~Joint ()

Protected Attributes

dJointID jointId

Constructor & Destructor Documentation

Joint::Joint  )  [protected]

Joint::~Joint  )  [protected, virtual]

Member Function Documentation

int Joint::GetType  )  const

Body * Joint::GetJointBody int  index  )  const

bool Joint::AreConnected Body one,
Body two

double Joint::GetParam int  parameter  )  const [virtual]

Reimplemented in Hinge2Joint, HingeJoint, and SliderJoint.

void Joint::SetFixed  ) 

void Joint::Attach Body one,
Body two

void Joint::Detach  ) 

virtual void Joint::SetAnchor GzVector  anchor  )  [inline, virtual]

Reimplemented in BallJoint, Hinge2Joint, HingeJoint, SliderJoint, and UniversalJoint.

virtual GzVector Joint::GetAnchor  )  const [inline, virtual]

Reimplemented in BallJoint, Hinge2Joint, HingeJoint, and UniversalJoint.

void Joint::SetParam int  parameter,
double  value

Reimplemented in Hinge2Joint, HingeJoint, SliderJoint, and UniversalJoint.

Member Data Documentation

dJointID Joint::jointId [protected]

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

Last updated 12 September 2005 21:38:45