DART  6.10.1
dart::dynamics::InverseKinematics::Function Class Referenceabstract

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>

Inheritance diagram for dart::dynamics::InverseKinematics::Function:
dart::dynamics::InverseKinematics::Constraint dart::dynamics::InverseKinematics::Objective

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~Function()

virtual dart::dynamics::InverseKinematics::Function::~Function ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ clone()

virtual optimizer::FunctionPtr dart::dynamics::InverseKinematics::Function::clone ( InverseKinematics _newIK) const
pure virtual

Enable this function to be cloned to a new IK module.

Implemented in dart::dynamics::InverseKinematics::Constraint, and dart::dynamics::InverseKinematics::Objective.