#include <model.h>
Public Member Functions | |
void | addJoint (const boost::shared_ptr< Joint > &joint) |
void | addLink (const boost::shared_ptr< Link > &link) |
boost::shared_ptr< Joint > | getJoint (const std::string &name) const |
std::vector< boost::shared_ptr < Joint > > | getJoints () const |
boost::shared_ptr< Link > | getLink (const std::string &name) const |
std::vector< boost::shared_ptr < Link > > | getLinks () const |
const std::string & | getName () const |
std::size_t | getNumDofs () const |
std::size_t | getNumJoints () const |
std::size_t | getNumLinks () const |
boost::shared_ptr< Link > | getRoot () const |
void | initRoot (const std::map< std::string, std::string > &link_parent_tree) |
void | initTree (std::map< std::string, std::string > &link_parent_tree) |
Model () | |
virtual | ~Model () |
Protected Attributes | |
std::map< std::string, boost::shared_ptr< Joint > > | joints_ |
std::map< std::string, boost::shared_ptr< Link > > | links_ |
std::string | name_ |
boost::shared_ptr< Link > | root_link_ |
fcl::Model::Model | ( | ) | [inline] |
virtual fcl::Model::~Model | ( | ) | [inline, virtual] |
void fcl::Model::addJoint | ( | const boost::shared_ptr< Joint > & | joint | ) |
void fcl::Model::addLink | ( | const boost::shared_ptr< Link > & | link | ) |
boost::shared_ptr< Joint > fcl::Model::getJoint | ( | const std::string & | name | ) | const |
std::vector<boost::shared_ptr<Joint> > fcl::Model::getJoints | ( | ) | const |
boost::shared_ptr< Link > fcl::Model::getLink | ( | const std::string & | name | ) | const |
std::vector< boost::shared_ptr< Link > > fcl::Model::getLinks | ( | ) | const |
const std::string & fcl::Model::getName | ( | ) | const |
std::size_t fcl::Model::getNumDofs | ( | ) | const |
std::size_t fcl::Model::getNumJoints | ( | ) | const |
std::size_t fcl::Model::getNumLinks | ( | ) | const |
boost::shared_ptr< Link > fcl::Model::getRoot | ( | ) | const |
void fcl::Model::initRoot | ( | const std::map< std::string, std::string > & | link_parent_tree | ) |
void fcl::Model::initTree | ( | std::map< std::string, std::string > & | link_parent_tree | ) |
std::map<std::string, boost::shared_ptr<Joint> > fcl::Model::joints_ [protected] |
std::map<std::string, boost::shared_ptr<Link> > fcl::Model::links_ [protected] |
std::string fcl::Model::name_ [protected] |
boost::shared_ptr<Link> fcl::Model::root_link_ [protected] |