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 VertexMass
8{
10 Unit = 0,
11
14};
15
17enum class EdgeWeights
18{
20 Unit = 0,
21
23 Cotan
24
26 // CotanWithAreaEqWeight => use EdgeWeights::Cotan and VertexMass::NeiArea instead
27};
28
30enum class Processing : bool
31{
33 Stop
34};
35
37enum class OrientNormals
38{
41 Smart
42};
43
44enum class OffsetMode : int
45{
46 Smooth,
47 Standard,
49};
50
61
62enum class UseAABBTree : char
63{
64 No, // AABB-tree of the mesh will not be used, even if it is available
65 Yes, // AABB-tree of the mesh will be used even if it has to be constructed
66 YesIfAlreadyConstructed, // AABB-tree of the mesh will be used if it was previously constructed and available, and will not be used otherwise
67};
68
69} //namespace MR
ColoringType
Definition MREnums.h:54
@ 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:18
@ Cotan
edge weight depends on local geometry and uses cotangent values
OffsetMode
Definition MREnums.h:45
@ 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
VertexMass
determines the weight or mass of each vertex in applications like Laplacian
Definition MREnums.h:8
@ NeiArea
vertex mass depends on local geometry and proportional to the area of first-ring triangles
@ Unit
all vertices have same mass=1
Processing
typically returned from callbacks to control the behavior of main algorithm
Definition MREnums.h:31
OrientNormals
the method how to choose between two opposite normal orientations
Definition MREnums.h:38
UseAABBTree
Definition MREnums.h:63