Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
error_function_types.h File Reference

Shared types used across error function hierarchies. More...

#include <momentum/character/types.h>
#include <functional>
#include <optional>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  momentum::ConstraintData
 Base structure of constraint data for joint-based error functions. More...

Namespaces

namespace  momentum

Typedefs

using momentum::ConstraintDataList = std::vector<ConstraintData>
 A list of ConstraintData.
template<typename T>
using momentum::optional_ref = std::optional<std::reference_wrapper<T>>
 An optional of a reference.

Enumerations

enum class  momentum::VertexConstraintType { momentum::Position , momentum::Plane , momentum::Normal , momentum::SymmetricNormal }
 Type of vertex constraint mode. More...

Functions

std::string_view momentum::toString (VertexConstraintType type)
 Returns a string representation of the constraint type.

Detailed Description

Shared types used across error function hierarchies.

Contains base data structures and enums that are shared between JointErrorFunctionT, VertexErrorFunctionT, and standalone error functions.

Definition in file error_function_types.h.