MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSignDetectionMode.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4
5namespace MR
6{
9
10
13{
16
19
22
28 WindingRule [[deprecated( "use OddCrossings instead" )]] = OddCrossings,
29
33};
34
36[[nodiscard]] MRMESH_API const char * asString( SignDetectionMode m );
37
45
46}
#define MRMESH_API
Definition MRMeshFwd.h:85
SignDetectionMode
how to determine the sign of distances from a mesh
Definition MRSignDetectionMode.h:13
SignDetectionModeShort
how to determine the sign of distances from a mesh, short version including auto-detection
Definition MRSignDetectionMode.h:40
const char * asString(ColoringType ct)
returns string representation of enum values
@ OpenVDB
sign detection from OpenVDB library, which is good and fast if input geometry is closed
Definition MRSignDetectionMode.h:18
@ WindingRule
old name of OddCrossings
Definition MRSignDetectionMode.h:28
@ ProjectionNormal
the sign is determined based on pseudonormal in closest mesh point (unsafe in case of self-intersecti...
Definition MRSignDetectionMode.h:21
@ HoleWindingRule
Definition MRSignDetectionMode.h:32
@ OddCrossings
Definition MRSignDetectionMode.h:27
@ Auto
automatic selection of the fastest method among safe options for the current mesh
Definition MRSignDetectionMode.h:41
@ HoleWindingNumber
detects sign from the winding number generalization with support for holes and self-intersections in ...
Definition MRSignDetectionMode.h:42
Additional support for unsigned types.
Definition MRUnsigned.h:9
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8