MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MeshLoadSettings Struct Reference

setting for mesh loading from external format, and locations of optional output data More...

#include <MRMeshLoadSettings.h>

Public Attributes

std::optional< Edges > * edges = nullptr
 optional load artifact: polyline edges
 
VertColors * colors = nullptr
 optional load artifact: per-vertex color map
 
FaceColors * faceColors = nullptr
 optional load artifact: per-face color map
 
VertUVCoords * uvCoords = nullptr
 optional load artifact: per-vertex uv-coordinates
 
VertNormals * normals = nullptr
 optional load artifact: per-vertex normals
 
MeshTexturetexture = nullptr
 optional load artifact: texture image
 
int * skippedFaceCount = nullptr
 optional output: counter of skipped faces during mesh creation
 
int * duplicatedVertexCount = nullptr
 optional output: counter of duplicated vertices (that created for resolve non-manifold geometry)
 
AffineXf3f * xf = nullptr
 optional output: transform for the loaded mesh to improve precision of vertex coordinates
 
ProgressCallback callback
 callback for set progress and stop process
 
bool telemetrySignal = true
 permit telemetry signal about loading
 

Detailed Description

setting for mesh loading from external format, and locations of optional output data

Member Data Documentation

◆ callback

ProgressCallback MR::MeshLoadSettings::callback

callback for set progress and stop process

◆ colors

VertColors* MR::MeshLoadSettings::colors = nullptr

optional load artifact: per-vertex color map

◆ duplicatedVertexCount

int* MR::MeshLoadSettings::duplicatedVertexCount = nullptr

optional output: counter of duplicated vertices (that created for resolve non-manifold geometry)

◆ edges

std::optional<Edges>* MR::MeshLoadSettings::edges = nullptr

optional load artifact: polyline edges

◆ faceColors

FaceColors* MR::MeshLoadSettings::faceColors = nullptr

optional load artifact: per-face color map

◆ normals

VertNormals* MR::MeshLoadSettings::normals = nullptr

optional load artifact: per-vertex normals

◆ skippedFaceCount

int* MR::MeshLoadSettings::skippedFaceCount = nullptr

optional output: counter of skipped faces during mesh creation

◆ telemetrySignal

bool MR::MeshLoadSettings::telemetrySignal = true

permit telemetry signal about loading

◆ texture

MeshTexture* MR::MeshLoadSettings::texture = nullptr

optional load artifact: texture image

◆ uvCoords

VertUVCoords* MR::MeshLoadSettings::uvCoords = nullptr

optional load artifact: per-vertex uv-coordinates

◆ xf

AffineXf3f* MR::MeshLoadSettings::xf = nullptr

optional output: transform for the loaded mesh to improve precision of vertex coordinates


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