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

A slider joint. More...

#include <physics/physics.hh>

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

Public Member Functions

 SliderJoint (BasePtr _parent)
 Constructor.
 
virtual ~SliderJoint ()
 Destructor.
 
virtual math::Vector3 GetAnchor (int _index) const
 Get the anchor.
 
virtual unsigned int GetAngleCount () const
 
 
virtual void Load (sdf::ElementPtr _sdf)
 Load a SliderJoint.
 
virtual void SetAnchor (int _index, const math::Vector3 &_anchor)
 Set the anchor.
 

Protected Attributes

math::Vector3 fakeAnchor
 The anchor value is not used internally.
 

Detailed Description

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

A slider joint.

Constructor & Destructor Documentation

template<class T >
gazebo::physics::SliderJoint< T >::SliderJoint ( BasePtr  _parent)
inlineexplicit

Constructor.

Parameters
[in]_parentParent of the joint.

References gazebo::physics::Base::SLIDER_JOINT.

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

Destructor.

Member Function Documentation

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

Get the anchor.

Parameters
[in]_indexIndex of the axis. Not used.
Returns
Anchor for the joint.
template<class T >
virtual unsigned int gazebo::physics::SliderJoint< T >::GetAngleCount ( ) const
inlinevirtual

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

Load a SliderJoint.

Parameters
[in]_sdfSDF values to load from
template<class T >
void gazebo::physics::SliderJoint< T >::SetAnchor ( int  _index,
const math::Vector3 _anchor 
)
virtual

Set the anchor.

Parameters
[in]_indexIndex of the axis. Not used.
[in]_anchorAnchor for the axis.

Member Data Documentation

template<class T >
math::Vector3 gazebo::physics::SliderJoint< T >::fakeAnchor
protected

The anchor value is not used internally.


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