dart
|
This class should be inherited by optimization::Function classes that have a dependency on the InverseKinematics module that they belong to. More...
#include <InverseKinematics.hpp>
Public Member Functions | |
virtual optimization::FunctionPtr | clone (InverseKinematics *_newIK) const =0 |
Enable this function to be cloned to a new IK module. | |
virtual | ~Function ()=default |
Virtual destructor. | |
This class should be inherited by optimization::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.