33#ifndef DART_DYNAMICS_CHAIN_HPP_
34#define DART_DYNAMICS_CHAIN_HPP_
56 std::vector<BodyNode*>
satisfy()
const;
87 const std::string& _name =
"Chain");
92 const std::string& _name =
"Chain");
122 const std::string& _name =
"Chain");
BodyNode class represents a single node of the skeleton.
Definition BodyNode.hpp:78
Chain is a specialized type of Linkage that represents a single unbranching and fully connected seque...
Definition Chain.hpp:47
IncludeBothTag
This enum is used to specify to the create() function that both the start and the target BodyNodes sh...
Definition Chain.hpp:83
@ IncludeBoth
Definition Chain.hpp:83
ChainPtr cloneChain() const
Creates and returns a clone of this Chain.
Definition Chain.cpp:162
MetaSkeletonPtr cloneMetaSkeleton() const
Creates an identical clone of this MetaSkeleton.
Definition MetaSkeleton.cpp:318
bool isStillChain() const
Returns false if this Chain has been broken, or some new Branching has been added.
Definition Chain.cpp:203
static ChainPtr create(const Chain::Criteria &_criteria, const std::string &_name="Chain")
Create a Chain given some Chain::Criteria.
Definition Chain.cpp:135
A Linkage is a ReferentialSkeleton with the special property that all the BodyNodes included in it fo...
Definition Linkage.hpp:54
std::shared_ptr< Chain > ChainPtr
Definition SmartPointer.hpp:76
std::shared_ptr< MetaSkeleton > MetaSkeletonPtr
Definition SmartPointer.hpp:68
Definition BulletCollisionDetector.cpp:63
operator Linkage::Criteria() const
Operator for implicit conversion to a Linkage::Criteria.
Definition Chain.cpp:129
WeakBodyNodePtr mTarget
mTarget will be the final BodyNode in the chain, unless there is a branching or a FreeJoint along the...
Definition Chain.hpp:63
Linkage::Criteria convert() const
Convert this Criteria into Linkage::Criteria.
Definition Chain.cpp:56
std::vector< BodyNode * > satisfy() const
Return a vector of BodyNodes that form a chain.
Definition Chain.cpp:50
bool mIncludeBoth
Set this to true if both the start and the target BodyNode should be included.
Definition Chain.hpp:68
WeakBodyNodePtr mStart
mStart will be the first BodyNode in the chain
Definition Chain.hpp:59
The Criteria class is used to specify how a Linkage should be constructed.
Definition Linkage.hpp:59