MeshLib Documentation
Loading...
Searching...
No Matches
MRMeshLoadSettings.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
4
5namespace MR
6{
7
10{
11 VertColors* colors = nullptr;
12 VertUVCoords* uvCoords = nullptr;
13 VertNormals* normals = nullptr;
14 MeshTexture* texture = nullptr;
15 int* skippedFaceCount = nullptr;
16 int* duplicatedVertexCount = nullptr;
17 AffineXf3f* xf = nullptr;
19};
20
21} //namespace MR
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
Definition MRCameraOrientationPlugin.h:8
setting for mesh loading from external format, and locations of optional output data
Definition MRMeshLoadSettings.h:10
int * duplicatedVertexCount
optional output: counter of duplicated vertices (that created for resolve non-manifold geometry)
Definition MRMeshLoadSettings.h:16
VertUVCoords * uvCoords
optional load artifact: per-vertex uv-coordinates
Definition MRMeshLoadSettings.h:12
VertColors * colors
optional load artifact: per-vertex color map
Definition MRMeshLoadSettings.h:11
ProgressCallback callback
callback for set progress and stop process
Definition MRMeshLoadSettings.h:18
int * skippedFaceCount
optional output: counter of skipped faces during mesh creation
Definition MRMeshLoadSettings.h:15
AffineXf3f * xf
optional output: transform for the loaded mesh to improve precision of vertex coordinates
Definition MRMeshLoadSettings.h:17
MeshTexture * texture
optional load artifact: texture image
Definition MRMeshLoadSettings.h:14
VertNormals * normals
optional load artifact: per-vertex normals
Definition MRMeshLoadSettings.h:13
Definition MRMeshTexture.h:13