GCOP  1.0
Public Member Functions | Public Attributes
gcop_urdf::Link Class Reference

#include <urdflink.h>

List of all members.

Public Member Functions

 Link ()
bool initXml (TiXmlElement *config)
boost::shared_ptr< LinkgetParent () const
void setParent (boost::shared_ptr< Link > parent)
void clear ()
void setParentJoint (boost::shared_ptr< Joint > child)
void addChild (boost::shared_ptr< Link > child)
void addChildJoint (boost::shared_ptr< Joint > child)
void addVisual (std::string group_name, boost::shared_ptr< Visual > visual)
boost::shared_ptr< std::vector
< boost::shared_ptr< Visual > > > 
getVisuals (const std::string &group_name) const
void addCollision (std::string group_name, boost::shared_ptr< Collision > collision)
boost::shared_ptr< std::vector
< boost::shared_ptr< Collision > > > 
getCollisions (const std::string &group_name) const

Public Attributes

std::string name
boost::shared_ptr< Inertialinertial
 inertial element
boost::shared_ptr< Visualvisual
 visual element
boost::shared_ptr< Collisioncollision
 collision element
std::map< std::string,
boost::shared_ptr< std::vector
< boost::shared_ptr< Visual > > > > 
visual_groups
 a collection of visual elements, keyed by a string tag called "group"
std::map< std::string,
boost::shared_ptr< std::vector
< boost::shared_ptr< Collision > > > > 
collision_groups
 a collection of collision elements, keyed by a string tag called "group"
boost::shared_ptr< Jointparent_joint
bool visited
 Tag for combining:
std::vector< boost::shared_ptr
< Joint > > 
child_joints
std::vector< boost::shared_ptr
< Link > > 
child_links

Constructor & Destructor Documentation

gcop_urdf::Link::Link ( ) [inline]

Member Function Documentation

void gcop_urdf::Link::addChild ( boost::shared_ptr< Link child)
void gcop_urdf::Link::addChildJoint ( boost::shared_ptr< Joint child)
void gcop_urdf::Link::addCollision ( std::string  group_name,
boost::shared_ptr< Collision collision 
)
void gcop_urdf::Link::addVisual ( std::string  group_name,
boost::shared_ptr< Visual visual 
)
void gcop_urdf::Link::clear ( ) [inline]
boost::shared_ptr<std::vector<boost::shared_ptr<Collision > > > gcop_urdf::Link::getCollisions ( const std::string &  group_name) const
boost::shared_ptr<Link> gcop_urdf::Link::getParent ( ) const [inline]
boost::shared_ptr<std::vector<boost::shared_ptr<Visual > > > gcop_urdf::Link::getVisuals ( const std::string &  group_name) const
bool gcop_urdf::Link::initXml ( TiXmlElement *  config)
void gcop_urdf::Link::setParent ( boost::shared_ptr< Link parent)
void gcop_urdf::Link::setParentJoint ( boost::shared_ptr< Joint child)

Member Data Documentation

std::vector<boost::shared_ptr<Joint> > gcop_urdf::Link::child_joints

Referenced by clear().

std::vector<boost::shared_ptr<Link> > gcop_urdf::Link::child_links

Referenced by clear().

collision element

Referenced by clear().

std::map<std::string, boost::shared_ptr<std::vector<boost::shared_ptr<Collision> > > > gcop_urdf::Link::collision_groups

a collection of collision elements, keyed by a string tag called "group"

Referenced by clear().

boost::shared_ptr<Inertial> gcop_urdf::Link::inertial

inertial element

Referenced by clear().

std::string gcop_urdf::Link::name

Referenced by clear().

Parent Joint element explicitly stating "parent" because we want directional-ness for tree structure every link can have one parent

Referenced by clear().

Tag for combining:

Referenced by clear().

boost::shared_ptr<Visual> gcop_urdf::Link::visual

visual element

Referenced by clear().

std::map<std::string, boost::shared_ptr<std::vector<boost::shared_ptr<Visual> > > > gcop_urdf::Link::visual_groups

a collection of visual elements, keyed by a string tag called "group"


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