17 #ifndef _ODESCREWJOINT_HH_
18 #define _ODESCREWJOINT_HH_
44 public:
virtual void Load(sdf::ElementPtr _sdf);
47 public:
virtual math::Vector3 GetAnchor(
unsigned int _index)
const;
50 public:
virtual void SetAnchor(
unsigned int _index,
54 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
57 public:
virtual void SetAxis(
unsigned int _index,
61 public:
virtual void SetThreadPitch(
unsigned int _index,
65 public:
virtual void SetThreadPitch(
double _threadPitch);
68 public:
virtual double GetThreadPitch(
unsigned int _index);
71 public:
virtual double GetThreadPitch();
74 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
77 public:
virtual double GetVelocity(
unsigned int _index)
const;
80 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
83 public:
virtual double GetParam(
unsigned int _parameter)
const;
86 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
89 public:
virtual bool SetParam(
const std::string &_key,
91 const boost::any &_value);
94 public:
virtual double GetParam(
const std::string &_key,
98 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
A screw joint.
Definition: ODEScrewJoint.hh:33
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
A screw joint, which has both prismatic and rotational DOFs.
Definition: ScrewJoint.hh:35
An angle and related functions.
Definition: Angle.hh:53
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77