dart
Public Member Functions | Friends | List of all members
dart::dynamics::ConstrainedGroup Class Reference

ConstrainedGroup is a group of skeletons that interact each other with constraints. More...

#include <ConstrainedGroup.hpp>

Public Member Functions

 ConstrainedGroup ()
 Default contructor.
 
virtual ~ConstrainedGroup ()
 Destructor.
 
void addConstraint (const ConstraintBasePtr &_constraint)
 Add constraint.
 
std::size_t getNumConstraints () const
 Return number of constraints in this constrained group.
 
ConstraintBasePtr getConstraint (std::size_t _index)
 Return a constraint.
 
ConstConstraintBasePtr getConstraint (std::size_t _index) const
 Return a constraint.
 
void removeConstraint (const ConstraintBasePtr &_constraint)
 Remove constraint.
 
void removeAllConstraints ()
 Remove all constraints.
 
std::size_t getTotalDimension () const
 Get total dimension of contraints in this group.
 

Friends

class ConstraintSolver
 

Detailed Description

ConstrainedGroup is a group of skeletons that interact each other with constraints.

See also
class ConstraintSolver

The documentation for this class was generated from the following files: