Group of constraints for use in iterative constrained_IK solver. More...
#include <constraint_group.h>
Public Member Functions | |
virtual void | add (Constraint *constraint) |
Add a constrainte to the group. | |
virtual void | clear () |
Remove all constraints from the group. | |
virtual bool | empty () const |
Check if the constraint group is empty. | |
ConstraintResults | evalConstraint (const SolverState &state) const override |
See base clase for documentation. | |
void | init (const Constrained_IK *ik) override |
See base clase for documentation. | |
Protected Attributes | |
boost::ptr_vector< Constraint > | constraints_ |
Group of constraints for use in iterative constrained_IK solver.
Definition at line 39 of file constraint_group.h.
void constrained_ik::ConstraintGroup::add | ( | Constraint * | constraint | ) | [virtual] |
Add a constrainte to the group.
constraint | to be added |
Definition at line 42 of file constraint_group.cpp.
virtual bool constrained_ik::ConstraintGroup::empty | ( | ) | const [inline, virtual] |
Check if the constraint group is empty.
Definition at line 65 of file constraint_group.h.
boost::ptr_vector<Constraint> constrained_ik::ConstraintGroup::constraints_ [protected] |
Vector of constaints in the group
Definition at line 68 of file constraint_group.h.