All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fcl::Model Class Reference

#include <hpp/fcl/articulated_model/model.h>

Collaboration diagram for fcl::Model:

Public Member Functions

 Model ()
 
virtual ~Model ()
 
const std::string & getName () const
 
void addLink (const boost::shared_ptr< Link > &link)
 
void addJoint (const boost::shared_ptr< Joint > &joint)
 
void initRoot (const std::map< std::string, std::string > &link_parent_tree)
 
void initTree (std::map< std::string, std::string > &link_parent_tree)
 
std::size_t getNumDofs () const
 
std::size_t getNumLinks () const
 
std::size_t getNumJoints () const
 
boost::shared_ptr< LinkgetRoot () const
 
boost::shared_ptr< LinkgetLink (const std::string &name) const
 
boost::shared_ptr< JointgetJoint (const std::string &name) const
 
std::vector< boost::shared_ptr
< Link > > 
getLinks () const
 
std::vector< boost::shared_ptr
< Joint > > 
getJoints () const
 

Protected Attributes

boost::shared_ptr< Linkroot_link_
 
std::map< std::string,
boost::shared_ptr< Link > > 
links_
 
std::map< std::string,
boost::shared_ptr< Joint > > 
joints_
 
std::string name_
 

Constructor & Destructor Documentation

fcl::Model::Model ( )
inline
virtual fcl::Model::~Model ( )
inlinevirtual

Member Function Documentation

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)

Member Data Documentation

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