Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::CandidateTriangle Struct Reference

Represents a candidate triangle for sliding constraints. More...

#include <skinned_locator_triangle_error_function.h>

Public Attributes

size_t triangleIdx = 0
 Index into mesh.faces.
Eigen::Vector3i vertexIndices
 The 3 vertex indices (cached from mesh.faces).

Detailed Description

Represents a candidate triangle for sliding constraints.

When a skinned locator is allowed to slide along the mesh surface, this struct stores information about a triangle that the locator can project onto.

Definition at line 26 of file skinned_locator_triangle_error_function.h.

Member Data Documentation

◆ triangleIdx

size_t momentum::CandidateTriangle::triangleIdx = 0

Index into mesh.faces.

Definition at line 27 of file skinned_locator_triangle_error_function.h.

Referenced by momentum::findCandidateTrianglesDfs().

◆ vertexIndices

Eigen::Vector3i momentum::CandidateTriangle::vertexIndices

The 3 vertex indices (cached from mesh.faces).

Definition at line 28 of file skinned_locator_triangle_error_function.h.

Referenced by momentum::findCandidateTrianglesDfs().


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