Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::NormalDataT< T > Struct Template Reference

Normal constraint data: data needed to compute the point-to-plane distance for "data-to-template" in ICP. More...

#include <normal_error_function.h>

Inheritance diagram for momentum::NormalDataT< T >:

Public Member Functions

 NormalDataT (const Vector3< T > &inLocalPt, const Vector3< T > &inLocalNorm, const Vector3< T > &inTargetPt, size_t pIndex, float w, const std::string &n={})
Public Member Functions inherited from momentum::ConstraintData
 ConstraintData (size_t pIndex, float w, const std::string &n="")

Public Attributes

Vector3< T > localPoint
 The template point defined in the local space.
Vector3< T > localNormal
 The template normal defined in the local space.
Vector3< T > globalPoint
 The data point in world space.
Public Attributes inherited from momentum::ConstraintData
size_t parent = kInvalidIndex
 Parent joint index this constraint is under.
float weight = 0.0f
 Weight of the constraint.
std::string name = {}
 Name of the constraint.

Detailed Description

template<typename T>
struct momentum::NormalDataT< T >

Normal constraint data: data needed to compute the point-to-plane distance for "data-to-template" in ICP.

Definition at line 17 of file normal_error_function.h.

Constructor & Destructor Documentation

◆ NormalDataT()

template<typename T>
momentum::NormalDataT< T >::NormalDataT ( const Vector3< T > & inLocalPt,
const Vector3< T > & inLocalNorm,
const Vector3< T > & inTargetPt,
size_t pIndex,
float w,
const std::string & n = {} )
inlineexplicit

Definition at line 25 of file normal_error_function.h.

Member Data Documentation

◆ globalPoint

template<typename T>
Vector3<T> momentum::NormalDataT< T >::globalPoint

The data point in world space.

Definition at line 23 of file normal_error_function.h.

Referenced by momentum::NormalErrorFunctionT< T >::evalFunction().

◆ localNormal

template<typename T>
Vector3<T> momentum::NormalDataT< T >::localNormal

The template normal defined in the local space.

Definition at line 21 of file normal_error_function.h.

Referenced by momentum::NormalErrorFunctionT< T >::evalFunction().

◆ localPoint

template<typename T>
Vector3<T> momentum::NormalDataT< T >::localPoint

The template point defined in the local space.

Definition at line 19 of file normal_error_function.h.

Referenced by momentum::NormalErrorFunctionT< T >::evalFunction().


The documentation for this struct was generated from the following files: