GCOP
1.0
|
#include <urdflink.h>
Public Member Functions | |
Link () | |
bool | initXml (TiXmlElement *config) |
boost::shared_ptr< Link > | getParent () 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< Inertial > | inertial |
inertial element | |
boost::shared_ptr< Visual > | visual |
visual element | |
boost::shared_ptr< Collision > | collision |
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< Joint > | parent_joint |
bool | visited |
Tag for combining: | |
std::vector< boost::shared_ptr < Joint > > | child_joints |
std::vector< boost::shared_ptr < Link > > | child_links |
gcop_urdf::Link::Link | ( | ) | [inline] |
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] |
References child_joints, child_links, collision, collision_groups, inertial, name, parent_joint, visited, and visual.
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 | ) |
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().
boost::shared_ptr<Collision> gcop_urdf::Link::collision |
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().
boost::shared_ptr<Joint> gcop_urdf::Link::parent_joint |
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"