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

#include <skinned_locator_triangle_error_function.h>

Public Member Functions

template<typename T2>
SkinnedLocatorTriangleConstraintT< T2 > cast () const

Public Attributes

int locatorIndex = -1
Eigen::Vector3i tgtTriangleIndices
 Initial/reference triangle vertex indices.
Eigen::Vector3< T > tgtTriangleBaryCoords
 Initial barycentric coordinates.
T depth = 0
T weight = 1
std::vector< CandidateTriangle > candidateTriangles
 List of candidate triangles for sliding.

Detailed Description

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

Definition at line 32 of file skinned_locator_triangle_error_function.h.

Member Function Documentation

◆ cast()

template<typename T>
template<typename T2>
SkinnedLocatorTriangleConstraintT< T2 > momentum::SkinnedLocatorTriangleConstraintT< T >::cast ( ) const
inline

Member Data Documentation

◆ candidateTriangles

template<typename T>
std::vector<CandidateTriangle> momentum::SkinnedLocatorTriangleConstraintT< T >::candidateTriangles

List of candidate triangles for sliding.

When non-empty, the constraint will reproject onto the closest candidate triangle during error evaluation, allowing the locator to "slide" along the mesh surface.

Definition at line 43 of file skinned_locator_triangle_error_function.h.

Referenced by momentum::SkinnedLocatorTriangleConstraintT< float >::cast(), and momentum::createSkinnedLocatorMeshConstraints().

◆ depth

◆ locatorIndex

◆ tgtTriangleBaryCoords

◆ tgtTriangleIndices

◆ weight


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