DART
6.10.1
|
This class should be inherited by optimizer::Function classes that have a dependency on the InverseKinematics module that they belong to. More...
#include <InverseKinematics.hpp>
Public Member Functions | |
virtual optimizer::FunctionPtr | clone (InverseKinematics *_newIK) const =0 |
Enable this function to be cloned to a new IK module. More... | |
virtual | ~Function ()=default |
Virtual destructor. More... | |
This class should be inherited by optimizer::Function classes that have a dependency on the InverseKinematics module that they belong to.
If you pass an InverseKinematics::Function into the Problem of an InverseKinematics module, then it will be properly cloned whenever the InverseKinematics module that it belongs to gets cloned. Any Function classes in the Problem that do not inherit InverseKinematics::Function will just be copied over by reference.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Enable this function to be cloned to a new IK module.
Implemented in dart::dynamics::InverseKinematics::Constraint, and dart::dynamics::InverseKinematics::Objective.