MeshLib C++ Docs
Loading...
Searching...
No Matches
MREnums.h
Go to the documentation of this file.
1#pragma once
2
3namespace MR
4{
5
7enum class EdgeWeights
8{
10 Unit = 0,
11
13 Cotan,
14
17
20};
21
23enum class Processing : bool
24{
26 Stop
27};
28
30enum class OrientNormals
31{
34 Smart
35};
36
37enum class OffsetMode : int
38{
39 Smooth,
40 Standard,
42};
43
54
55enum class UseAABBTree : char
56{
57 No, // AABB-tree of the mesh will not be used, even if it is available
58 Yes, // AABB-tree of the mesh will be used even if it has to be constructed
59 YesIfAlreadyConstructed, // AABB-tree of the mesh will be used if it was previously constructed and available, and will not be used otherwise
60};
61
62} //namespace MR
ColoringType
Definition MREnums.h:47
@ LinesColorMap
Use different color (taken from faces colormap) for each line (primitive for object lines)
@ VertsColorMap
Use different color (taken from verts colormap) for each vertex.
@ SolidColor
Use one color for whole object.
@ FacesColorMap
Use different color (taken from faces colormap) for each face (primitive for object mesh)
@ PrimitivesColorMap
Use different color (taken from faces colormap) for each primitive.
EdgeWeights
determines the weight of each edge in applications like Laplacian
Definition MREnums.h:8
@ Unit
all edges have same weight=1
@ CotanWithAreaEqWeight
cotangent edge weights and equation weights inversely proportional to square root of local area
@ CotanTimesLength
[deprecated] edge weight is equal to edge length times cotangent weight
@ Cotan
edge weight depends on local geometry and uses cotangent values
OffsetMode
Definition MREnums.h:38
@ Sharpening
create mesh using standard marching cubes with additional sharpening implemented in MeshLib
@ Smooth
create mesh using dual marching cubes from OpenVDB library
@ Standard
create mesh using standard marching cubes implemented in MeshLib
Processing
typically returned from callbacks to control the behavior of main algorithm
Definition MREnums.h:24
OrientNormals
the method how to choose between two opposite normal orientations
Definition MREnums.h:31
UseAABBTree
Definition MREnums.h:56