All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
fcl::Model Class Reference

#include <model.h>

List of all members.

Public Member Functions

void addJoint (const boost::shared_ptr< Joint > &joint)
void addLink (const boost::shared_ptr< Link > &link)
boost::shared_ptr< JointgetJoint (const std::string &name) const
std::vector< boost::shared_ptr
< Joint > > 
getJoints () const
boost::shared_ptr< LinkgetLink (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< LinkgetRoot () 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< Linkroot_link_

Detailed Description

Definition at line 57 of file model.h.


Constructor & Destructor Documentation

fcl::Model::Model ( ) [inline]

Definition at line 60 of file model.h.

virtual fcl::Model::~Model ( ) [inline, virtual]

Definition at line 62 of file model.h.


Member Function Documentation

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

Definition at line 114 of file model.cpp.

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

Definition at line 109 of file model.cpp.

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

Definition at line 61 of file model.cpp.

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

Definition at line 50 of file model.cpp.

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

Definition at line 77 of file model.cpp.

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

Definition at line 72 of file model.cpp.

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

Definition at line 98 of file model.cpp.

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

Definition at line 93 of file model.cpp.

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

Definition at line 88 of file model.cpp.

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

Definition at line 45 of file model.cpp.

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

find the links that have no parent in the tree

Definition at line 119 of file model.cpp.

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

Definition at line 144 of file model.cpp.


Member Data Documentation

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

Definition at line 89 of file model.h.

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

Definition at line 88 of file model.h.

std::string fcl::Model::name_ [protected]

Definition at line 91 of file model.h.

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

Definition at line 87 of file model.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:31