MeshLib Documentation
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
44} //namespace MR
Definition MRCameraOrientationPlugin.h:8
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