Expand description
Section 9 (FEMC): Volumetric-to-Surface Correspondence Map Section.
Binds high-resolution visual surface mesh vertices (QuantizedMesh / ClusterDag)
to volumetric tetrahedral finite elements (Reconstruction / FEM / XPBD) via
16-byte VertexTetBinding records with unorm16 partition-of-unity barycentric
weights (w0 + w1 + w2 + w3 == 65535) and octahedral reference normal encodings.
Structs§
- Correspondence
Mini Header - 16-byte POD mini-header for
SectionType::CorrespondenceMap(FEMC). - Vertex
TetBinding - 16-byte POD record binding one surface vertex to a volumetric tetrahedron.
Enums§
- Correspondence
Section Error - Errors emitted when encoding, decoding, or evaluating a
FEMCcorrespondence section.
Constants§
- BARYCENTRIC_
UNOR M16_ SUM - Normalization denominator for
unorm16barycentric coordinates. - CORRESPONDENCE_
HEADER_ SIZE - Fixed byte size of
CorrespondenceMiniHeader. - CORRESPONDENCE_
SECTION_ VERSION - Current format version of the
FEMCsection. - FLAG_
FEMC_ CONFORMING_ BARYCENTRIC - Section flag: all bindings strictly lie inside or on the boundary of their host tetrahedron.
- FLAG_
FEMC_ HAS_ NORMAL_ ROTATION - Section flag:
normal_rotation_oct16stores rest-frame local normal directions. - MAGIC_
FEMC - 4-byte ASCII magic for
.10dVolumetric-to-Surface Correspondence sections ("FEMC"). - MAX_
CORRESPONDENCE_ BINDINGS - Maximum bindings admitted per
FEMCsection. - VERTEX_
TET_ BINDING_ SIZE - Fixed byte size of
VertexTetBinding.
Functions§
- correspondence_
encoded_ len - Compute exact byte length for a
FEMCsection withbinding_countrecords. - decode_
correspondence_ section - Decode and validate a
FEMCsection into caller-providedVertexTetBindingstorage (Zero-Heap). - deform_
surface_ vertices_ zero_ heap - Evaluate deformed surface vertex positions across a
FEMCbinding slice in zero heap memory. - encode_
correspondence_ section - Encode a
FEMCsection into a caller-supplied byte slice without heap allocation.