Wildmeshing Toolkit
Loading...
Searching...
No Matches
Classes | Public Attributes | List of all members
wmtk::components::tracking::SurfaceData Struct Reference

A triangle surface and named per-face fields, as read from or written to a mesh. More...

#include <surface_io.hpp>

Classes

struct  FieldType
 

Public Attributes

std::vector< Eigen::Vector3d > vertices
 
std::vector< std::array< uint64_t, 3 > > faces
 
std::map< std::string, std::vector< std::vector< double > > > face_fields
 
std::map< std::string, std::vector< std::vector< double > > > corner_fields
 
std::map< std::string, FieldType > field_types
 

Detailed Description

A triangle surface and named per-face fields, as read from or written to a mesh.

Member Data Documentation

◆ corner_fields

std::map<std::string, std::vector<std::vector<double> > > wmtk::components::tracking::SurfaceData::corner_fields

Field name -> per face, one value per corner, corner after corner in the face's order (is_corner_field): texture coordinates, say, a seam being where the two faces at an edge disagree. In a mesh, a triangle field of 3k columns.

◆ face_fields

std::map<std::string, std::vector<std::vector<double> > > wmtk::components::tracking::SurfaceData::face_fields

Field name -> one value per face, of as many components as the field has columns: a label, a vector, a tensor.


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