33 #ifndef DART_CONSTRAINT_CONSTRAINEDGROUP_HPP_ 34 #define DART_CONSTRAINT_CONSTRAINEDGROUP_HPP_ 38 #include <Eigen/Dense> 40 #include "dart/dynamics/SmartPointer.hpp" 50 struct ConstraintInfo;
52 class ConstraintSolver;
75 void addConstraint(
const ConstraintBasePtr& _constraint);
78 std::size_t getNumConstraints()
const;
81 ConstraintBasePtr getConstraint(std::size_t _index);
84 ConstConstraintBasePtr getConstraint(std::size_t _index)
const;
87 void removeConstraint(
const ConstraintBasePtr& _constraint);
90 void removeAllConstraints();
93 std::size_t getTotalDimension()
const;
103 bool containConstraint(
const ConstConstraintBasePtr& _constraint)
const;
108 std::vector<ConstraintBasePtr> mConstraints;
111 std::shared_ptr<dynamics::Skeleton> mRootSkeleton;
117 #endif // DART_CONSTRAINT_CONSTRAINEDGROUP_HPP_ ConstrainedGroup is a group of skeletons that interact each other with constraints.
Definition: ConstrainedGroup.hpp:57
ConstraintSolver manages constraints and computes constraint impulses.
Definition: ConstraintSolver.hpp:56
Definition: Aspect.cpp:40