Public Member Functions | Protected Attributes | List of all members
fcl::Model Class Reference

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

Collaboration diagram for fcl::Model:
[legend]

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

◆ Model()

fcl::Model::Model ( )
inline

◆ ~Model()

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

Member Function Documentation

◆ addJoint()

void fcl::Model::addJoint ( const boost::shared_ptr< Joint > &  joint)

◆ addLink()

void fcl::Model::addLink ( const boost::shared_ptr< Link > &  link)

◆ getJoint()

boost::shared_ptr<Joint> fcl::Model::getJoint ( const std::string &  name) const

◆ getJoints()

std::vector<boost::shared_ptr<Joint> > fcl::Model::getJoints ( ) const

◆ getLink()

boost::shared_ptr<Link> fcl::Model::getLink ( const std::string &  name) const

◆ getLinks()

std::vector<boost::shared_ptr<Link> > fcl::Model::getLinks ( ) const

◆ getName()

const std::string& fcl::Model::getName ( ) const

◆ getNumDofs()

std::size_t fcl::Model::getNumDofs ( ) const

◆ getNumJoints()

std::size_t fcl::Model::getNumJoints ( ) const

◆ getNumLinks()

std::size_t fcl::Model::getNumLinks ( ) const

◆ getRoot()

boost::shared_ptr<Link> fcl::Model::getRoot ( ) const

◆ initRoot()

void fcl::Model::initRoot ( const std::map< std::string, std::string > &  link_parent_tree)

◆ initTree()

void fcl::Model::initTree ( std::map< std::string, std::string > &  link_parent_tree)

Member Data Documentation

◆ joints_

std::map<std::string, boost::shared_ptr<Joint> > fcl::Model::joints_
protected

◆ links_

std::map<std::string, boost::shared_ptr<Link> > fcl::Model::links_
protected

◆ name_

std::string fcl::Model::name_
protected

◆ root_link_

boost::shared_ptr<Link> fcl::Model::root_link_
protected