33#ifndef DART_DYNAMICS_CHAIN_HPP_
34#define DART_DYNAMICS_CHAIN_HPP_
55 bool includeUpstreamParentJoint =
false);
58 std::vector<BodyNode*>
satisfy()
const;
104 const std::string& _name =
"Chain");
117 const std::string& cloneName)
const override;
136 const std::string& _name =
"Chain");
BodyNode class represents a single node of the skeleton.
Definition BodyNode.hpp:79
Chain is a specialized type of Linkage that represents a single unbranching and fully connected seque...
Definition Chain.hpp:47
ChainPtr cloneChain() const
Creates and returns a clone of this Chain.
Definition Chain.cpp:165
MetaSkeletonPtr cloneMetaSkeleton() const
Creates an identical clone of this MetaSkeleton.
Definition MetaSkeleton.cpp:328
IncludeUpstreamParentJointTag
This enum is used to specify to the create() function that the parent joint of whichever is upstream ...
Definition Chain.hpp:85
@ IncludeUpstreamParentJoint
Definition Chain.hpp:86
bool isStillChain() const
Returns false if this Chain has been broken, or some new Branching has been added.
Definition Chain.cpp:206
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:65
bool mIncludeUpstreamParentJoint
Set this to true if the parent joint of whichever is upstream of the other should be included.
Definition Chain.hpp:69
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:65
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
WeakBodyNodePtr mStart
mStart will be the first BodyNode in the chain
Definition Chain.hpp:61
The Criteria class is used to specify how a Linkage should be constructed.
Definition Linkage.hpp:58