Base class for a ball joint. More...
#include <physics/physics.hh>
Inherits T.
Public Member Functions | |
BallJoint (BasePtr _parent) | |
Constructor. More... | |
virtual | ~BallJoint () |
Destructor. More... | |
virtual unsigned int | DOF () const |
void | Load (sdf::ElementPtr _sdf) |
Template to ::Load the BallJoint. More... | |
Protected Member Functions | |
virtual void | Init () |
Initialize joint. More... | |
Base class for a ball joint.
Each physics engine should implement this class.
Constructor.
[in] | _parent | Pointer to the parent link. |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
|
inlineprotectedvirtual |
Initialize joint.
Reimplemented in BulletBallJoint, and DARTBallJoint.
|
inline |
Template to ::Load the BallJoint.
[in] | _sdf | SDF to load the joint from. |