17 #ifndef _ODESCREWJOINT_HH_
18 #define _ODESCREWJOINT_HH_
41 public:
virtual void Load(sdf::ElementPtr _sdf);
44 public:
virtual math::Vector3 GetAnchor(
unsigned int _index)
const;
47 public:
virtual void SetAnchor(
unsigned int _index,
51 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
54 public:
virtual void SetAxis(
unsigned int _index,
58 public:
virtual void SetThreadPitch(
unsigned int _index,
62 public:
virtual void SetThreadPitch(
double _threadPitch);
65 public:
virtual double GetThreadPitch(
unsigned int _index);
68 public:
virtual double GetThreadPitch();
71 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
74 public:
virtual double GetVelocity(
unsigned int _index)
const;
77 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
80 public:
virtual double GetParam(
unsigned int _parameter)
const;
83 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
86 public:
virtual bool SetParam(
const std::string &_key,
88 const boost::any &_value);
91 public:
virtual double GetParam(
const std::string &_key,
95 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
A screw joint.
Definition: ODEScrewJoint.hh:30
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:72
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:259
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