MeshLib C Docs
Loading...
Searching...
No Matches
MREnums.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdbool.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11
20
29
31typedef bool MR_Processing;
32enum // MR_Processing
33{
36};
37
45
55
71
72typedef char MR_UseAABBTree;
73enum // MR_UseAABBTree
74{
75 // AABB-tree of the mesh will not be used, even if it is available
77 // AABB-tree of the mesh will be used even if it has to be constructed
79 // AABB-tree of the mesh will be used if it was previously constructed and available, and will not be used otherwise
81};
82
85enum // MR_GeodesicPathApprox
86{
93};
94
98
99#ifdef __cplusplus
100} // extern "C"
101#endif
@ MR_Processing_Continue
Definition MREnums.h:34
@ MR_Processing_Stop
Definition MREnums.h:35
MR_OrientNormals
the method how to choose between two opposite normal orientations
Definition MREnums.h:40
@ MR_OrientNormals_AwayFromOrigin
Definition MREnums.h:42
@ MR_OrientNormals_TowardOrigin
Definition MREnums.h:41
@ MR_OrientNormals_Smart
Definition MREnums.h:43
MR_ColoringType
Definition MREnums.h:59
@ MR_ColoringType_SolidColor
Use one color for whole object.
Definition MREnums.h:61
@ MR_ColoringType_PrimitivesColorMap
Use different color (taken from faces colormap) for each face (primitive for object mesh)
Definition MREnums.h:63
@ MR_ColoringType_VertsColorMap
Definition MREnums.h:69
@ MR_ColoringType_FacesColorMap
Use different color (taken from faces colormap) for each line (primitive for object lines)
Definition MREnums.h:65
@ MR_ColoringType_LinesColorMap
Use different color (taken from verts colormap) for each vertex.
Definition MREnums.h:67
@ MR_GeodesicPathApprox_DijkstraBiDir
compute edge-only path by building it from start and end simultaneously
Definition MREnums.h:88
@ MR_GeodesicPathApprox_DijkstraAStar
compute edge-only path using A*-search algorithm
Definition MREnums.h:90
@ MR_GeodesicPathApprox_FastMarching
use Fast Marching algorithm
Definition MREnums.h:92
MR_EdgeWeights
determines the weight of each edge in applications like Laplacian
Definition MREnums.h:23
@ MR_EdgeWeights_Unit
all edges have same weight=1
Definition MREnums.h:25
@ MR_EdgeWeights_Cotan
edge weight depends on local geometry and uses cotangent values
Definition MREnums.h:27
char MR_UseAABBTree
Definition MREnums.h:72
MRC_API const char * MR_asString_MR_ColoringType(MR_ColoringType ct)
@ MR_UseAABBTree_No
Definition MREnums.h:76
@ MR_UseAABBTree_YesIfAlreadyConstructed
Definition MREnums.h:80
@ MR_UseAABBTree_Yes
Definition MREnums.h:78
bool MR_Processing
typically returned from callbacks to control the behavior of main algorithm
Definition MREnums.h:31
MR_OffsetMode
Definition MREnums.h:47
@ MR_OffsetMode_Standard
create mesh using standard marching cubes with additional sharpening implemented in MeshLib
Definition MREnums.h:51
@ MR_OffsetMode_Smooth
create mesh using dual marching cubes from OpenVDB library
Definition MREnums.h:49
@ MR_OffsetMode_Sharpening
Definition MREnums.h:53
MR_VertexMass
determines the weight or mass of each vertex in applications like Laplacian
Definition MREnums.h:14
@ MR_VertexMass_Unit
all vertices have same mass=1
Definition MREnums.h:16
@ MR_VertexMass_NeiArea
vertex mass depends on local geometry and proportional to the area of first-ring triangles
Definition MREnums.h:18
char MR_GeodesicPathApprox
the algorithm to compute approximately geodesic path
Definition MREnums.h:84
#define MRC_API
Definition exports.h:11