All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gazebo::physics::ScrewJoint< T > Class Template Referenceabstract

A screw joint. More...

#include <ScrewJoint.hh>

Inheritance diagram for gazebo::physics::ScrewJoint< T >:
Inheritance graph
[legend]

Public Member Functions

 ScrewJoint (BasePtr _parent)
 Constructor.
 
virtual ~ScrewJoint ()
 Destructor.
 
virtual math::Vector3 GetAnchor (int) const
 Get the anchor.
 
virtual void SetAnchor (int, const math::Vector3 &anchor)
 Set the anchor.
 
virtual void SetThreadPitch (int _index, double _threadPitch)=0
 Set screw joint thread pitch.
 

Protected Member Functions

virtual void Load (sdf::ElementPtr _sdf)
 Load a ScreJoint.
 

Protected Attributes

math::Vector3 fakeAnchor
 
double threadPitch
 

Detailed Description

template<class T>
class gazebo::physics::ScrewJoint< T >

A screw joint.

Constructor & Destructor Documentation

template<class T>
gazebo::physics::ScrewJoint< T >::ScrewJoint ( BasePtr  _parent)
inline

Constructor.

template<class T>
virtual gazebo::physics::ScrewJoint< T >::~ScrewJoint ( )
inlinevirtual

Destructor.

Member Function Documentation

template<class T>
virtual math::Vector3 gazebo::physics::ScrewJoint< T >::GetAnchor ( int  ) const
inlinevirtual

Get the anchor.

template<class T>
virtual void gazebo::physics::ScrewJoint< T >::Load ( sdf::ElementPtr  _sdf)
inlineprotectedvirtual

Load a ScreJoint.

Reimplemented in gazebo::physics::BulletScrewJoint, and gazebo::physics::ODEScrewJoint.

template<class T>
virtual void gazebo::physics::ScrewJoint< T >::SetAnchor ( int  ,
const math::Vector3 anchor 
)
inlinevirtual

Set the anchor.

template<class T>
virtual void gazebo::physics::ScrewJoint< T >::SetThreadPitch ( int  _index,
double  _threadPitch 
)
pure virtual

Set screw joint thread pitch.

This must be implemented in a child class

Parameters
[in]_indexIndex of the axis.
[in]_threadPitchThread pitch value.

Implemented in gazebo::physics::ODEScrewJoint.

Member Data Documentation

template<class T>
math::Vector3 gazebo::physics::ScrewJoint< T >::fakeAnchor
protected
template<class T>
double gazebo::physics::ScrewJoint< T >::threadPitch
protected

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