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

Constraint specifying that a vertex should be at a target signed distance from the SDF. More...

#include <vertex_sdf_error_function.h>

Public Attributes

int vertexIndex = -1
 Mesh vertex index.
T targetDistance = T(0)
 Target signed distance value.
T weight = T(1)
 Per-constraint weight.

Detailed Description

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

Constraint specifying that a vertex should be at a target signed distance from the SDF.

Definition at line 21 of file vertex_sdf_error_function.h.

Member Data Documentation

◆ targetDistance

template<typename T>
T momentum::VertexSDFConstraintT< T >::targetDistance = T(0)

Target signed distance value.

Definition at line 23 of file vertex_sdf_error_function.h.

◆ vertexIndex

template<typename T>
int momentum::VertexSDFConstraintT< T >::vertexIndex = -1

Mesh vertex index.

Definition at line 22 of file vertex_sdf_error_function.h.

Referenced by momentum::VertexSDFErrorFunctionT< T >::addConstraint().

◆ weight

template<typename T>
T momentum::VertexSDFConstraintT< T >::weight = T(1)

Per-constraint weight.

Definition at line 24 of file vertex_sdf_error_function.h.


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