Public Member Functions |
| boost::shared_ptr< const Joint > | getChildJoint (const std::string &name) const |
| | get child Joint of a Link given name
|
| boost::shared_ptr< const Link > | getChildLink (const std::string &name) const |
| | get child Link of a Link given name
|
| boost::shared_ptr< const Joint > | getJoint (const std::string &name) const |
| boost::shared_ptr< const Link > | getLink (const std::string &name) const |
| void | getLinks (std::vector< boost::shared_ptr< Link > > &links) const |
| const std::string & | getName () const |
| boost::shared_ptr< const Joint > | getParentJoint (const std::string &name) const |
| | get parent Joint of a Link given name
|
| boost::shared_ptr< const Link > | getParentLink (const std::string &name) const |
| | get parent Link of a Link given name
|
| boost::shared_ptr< const Link > | getRoot (void) const |
| bool | initFile (const std::string &filename) |
| | Load Model given a filename.
|
| bool | initParam (const std::string ¶m) |
| | Load Model given the name of a parameter on the parameter server.
|
| bool | initString (const std::string &xmlstring) |
| | Load Model from a XML-string.
|
| bool | initXml (TiXmlDocument *xml) |
| | Load Model from TiXMLDocument.
|
| bool | initXml (TiXmlElement *xml) |
| | Load Model from TiXMLElement.
|
| | Model () |
Public Attributes |
std::map< std::string,
boost::shared_ptr< Joint > > | joints_ |
| | complete list of Joints
|
std::map< std::string,
boost::shared_ptr< Link > > | links_ |
| | complete list of Links
|
std::map< std::string,
boost::shared_ptr< Material > > | materials_ |
| | complete list of Materials
|
Private Member Functions |
| void | clear () |
| void | getLink (const std::string &name, boost::shared_ptr< Link > &link) const |
| | non-const getLink()
|
| boost::shared_ptr< Material > | getMaterial (const std::string &name) const |
| | non-const getMaterial()
|
| bool | initRoot (std::map< std::string, std::string > &parent_link_tree) |
| bool | initTree (std::map< std::string, std::string > &parent_link_tree) |
Private Attributes |
| std::string | name_ |
| boost::shared_ptr< Link > | root_link_ |