33#ifndef DART_CONSTRAINT_CONSTRAINEDGROUP_HPP_
34#define DART_CONSTRAINT_CONSTRAINEDGROUP_HPP_
52class ConstraintSolver;
ConstrainedGroup is a group of skeletons that interact each other with constraints.
Definition ConstrainedGroup.hpp:58
void removeAllConstraints()
Remove all constraints.
Definition ConstrainedGroup.cpp:102
void addConstraint(const ConstraintBasePtr &_constraint)
Add constraint.
Definition ConstrainedGroup.cpp:57
virtual ~ConstrainedGroup()
Destructor.
Definition ConstrainedGroup.cpp:52
std::size_t getTotalDimension() const
Get total dimension of contraints in this group.
Definition ConstrainedGroup.cpp:118
void removeConstraint(const ConstraintBasePtr &_constraint)
Remove constraint.
Definition ConstrainedGroup.cpp:89
ConstrainedGroup()
Default contructor.
Definition ConstrainedGroup.cpp:47
std::shared_ptr< dynamics::Skeleton > mRootSkeleton
Definition ConstrainedGroup.hpp:111
std::vector< ConstraintBasePtr > mConstraints
List of constraints.
Definition ConstrainedGroup.hpp:108
ConstraintBasePtr getConstraint(std::size_t _index)
Return a constraint.
Definition ConstrainedGroup.cpp:75
std::size_t getNumConstraints() const
Return number of constraints in this constrained group.
Definition ConstrainedGroup.cpp:69
bool containConstraint(const ConstConstraintBasePtr &_constraint) const
Return true if _constraint is contained.
Definition ConstrainedGroup.cpp:109
ConstraintSolver manages constraints and computes constraint impulses.
Definition ConstraintSolver.hpp:57
std::shared_ptr< const ConstraintBase > ConstConstraintBasePtr
Definition SmartPointer.hpp:45
std::shared_ptr< ConstraintBase > ConstraintBasePtr
Definition SmartPointer.hpp:45
Definition BulletCollisionDetector.cpp:65