22 #ifndef _BULLETBALLJOINT_HH_ 23 #define _BULLETBALLJOINT_HH_ 30 class btPoint2PointConstraint;
50 public:
virtual void Load(sdf::ElementPtr _sdf);
53 public:
virtual void Init();
59 public:
virtual math::Vector3 GetAxis(
unsigned int _index)
const;
62 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
65 public:
virtual double GetVelocity(
unsigned int _index)
const;
68 public:
virtual bool SetHighStop(
unsigned int _index,
72 public:
virtual bool SetLowStop(
unsigned int _index,
76 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
79 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
82 protected:
virtual void SetForceImpl(
unsigned int _index,
double _torque);
85 public:
virtual void SetAxis(
unsigned int _index,
89 public:
virtual math::Angle GetHighStop(
unsigned int _index);
92 public:
virtual math::Angle GetLowStop(
unsigned int _index);
95 private: btPoint2PointConstraint *bulletBall;
Forward declarations for the common classes.
Definition: Animation.hh:33
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
BulletBallJoint class models a ball joint in Bullet.
Definition: BulletBallJoint.hh:41
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
An angle and related functions.
Definition: Angle.hh:53
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:72
Base class for a ball joint.
Definition: BallJoint.hh:40