#include <joint.h>
Public Member Functions | |
boost::shared_ptr< Link > | getChildLink () const |
boost::shared_ptr< JointConfig > | getJointConfig () const |
JointType | getJointType () const |
virtual Transform3f | getLocalTransform () const =0 |
const std::string & | getName () const |
virtual std::size_t | getNumDofs () const =0 |
boost::shared_ptr< Link > | getParentLink () const |
const Transform3f & | getTransformToParent () const |
Joint (const boost::shared_ptr< Link > &link_parent, const boost::shared_ptr< Link > &link_child, const Transform3f &transform_to_parent, const std::string &name) | |
Joint (const std::string &name) | |
void | setChildLink (const boost::shared_ptr< Link > &link) |
void | setJointConfig (const boost::shared_ptr< JointConfig > &joint_cfg) |
void | setName (const std::string &name) |
void | setParentLink (const boost::shared_ptr< Link > &link) |
void | setTransformToParent (const Transform3f &t) |
virtual | ~Joint () |
Protected Attributes | |
boost::shared_ptr< JointConfig > | joint_cfg_ |
boost::weak_ptr< Link > | link_child_ |
boost::weak_ptr< Link > | link_parent_ |
links to parent and child are only for connection, so weak_ptr to avoid cyclic dependency | |
std::string | name_ |
Transform3f | transform_to_parent_ |
JointType | type_ |
fcl::Joint::Joint | ( | const boost::shared_ptr< Link > & | link_parent, |
const boost::shared_ptr< Link > & | link_child, | ||
const Transform3f & | transform_to_parent, | ||
const std::string & | name | ||
) |
fcl::Joint::Joint | ( | const std::string & | name | ) |
virtual fcl::Joint::~Joint | ( | ) | [inline, virtual] |
boost::shared_ptr< Link > fcl::Joint::getChildLink | ( | ) | const |
boost::shared_ptr< JointConfig > fcl::Joint::getJointConfig | ( | ) | const |
JointType fcl::Joint::getJointType | ( | ) | const |
virtual Transform3f fcl::Joint::getLocalTransform | ( | ) | const [pure virtual] |
Implemented in fcl::BallEulerJoint, fcl::RevoluteJoint, and fcl::PrismaticJoint.
const std::string & fcl::Joint::getName | ( | ) | const |
virtual std::size_t fcl::Joint::getNumDofs | ( | ) | const [pure virtual] |
Implemented in fcl::BallEulerJoint, fcl::RevoluteJoint, and fcl::PrismaticJoint.
boost::shared_ptr< Link > fcl::Joint::getParentLink | ( | ) | const |
const Transform3f & fcl::Joint::getTransformToParent | ( | ) | const |
void fcl::Joint::setChildLink | ( | const boost::shared_ptr< Link > & | link | ) |
void fcl::Joint::setJointConfig | ( | const boost::shared_ptr< JointConfig > & | joint_cfg | ) |
void fcl::Joint::setName | ( | const std::string & | name | ) |
void fcl::Joint::setParentLink | ( | const boost::shared_ptr< Link > & | link | ) |
void fcl::Joint::setTransformToParent | ( | const Transform3f & | t | ) |
boost::shared_ptr<JointConfig> fcl::Joint::joint_cfg_ [protected] |
boost::weak_ptr<Link> fcl::Joint::link_child_ [protected] |
boost::weak_ptr<Link> fcl::Joint::link_parent_ [protected] |
std::string fcl::Joint::name_ [protected] |
Transform3f fcl::Joint::transform_to_parent_ [protected] |
JointType fcl::Joint::type_ [protected] |