MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.SignDetectionMode Class Reference

Public Member Functions

bool __eq__ (self, typing.Any other)
 
int __getstate__ (self)
 
int __hash__ (self)
 
int __index__ (self)
 
None __init__ (self, int value)
 
int __int__ (self)
 
bool __ne__ (self, typing.Any other)
 
str __repr__ (self)
 
None __setstate__ (self, int state)
 
str __str__ (self)
 
str name (self)
 
int value (self)
 

Static Public Attributes

typing HoleWindingRule .ClassVar[SignDetectionMode]
 
typing OpenVDB .ClassVar[SignDetectionMode]
 
typing ProjectionNormal .ClassVar[SignDetectionMode]
 
typing Unsigned .ClassVar[SignDetectionMode]
 
typing WindingRule .ClassVar[SignDetectionMode]
 

Detailed Description

Members:

  Unsigned : unsigned distance, useful for bidirectional `Shell` offset

  OpenVDB : sign detection from OpenVDB library, which is good and fast if input geometry is closed

  ProjectionNormal : the sign is determined based on pseudonormal in closest mesh point (unsafe in case of self-intersections)

  WindingRule : ray intersection counter, significantly slower than ProjectionNormal and does not support holes in mesh;
this mode is slow, and it does NOT have CUDA acceleration at this moment

  HoleWindingRule : computes robust winding number generalization with support of holes and self-intersections in mesh,
it is the slowest sign detection mode, but it CAN be accelerated with CUDA if this mode activated e.g. in OffsetParameters.fwn

Constructor & Destructor Documentation

◆ __init__()

None meshlib.mrmeshpy.SignDetectionMode.__init__ ( self,
int value )

Member Function Documentation

◆ __eq__()

bool meshlib.mrmeshpy.SignDetectionMode.__eq__ ( self,
typing.Any other )

◆ __getstate__()

int meshlib.mrmeshpy.SignDetectionMode.__getstate__ ( self)

◆ __hash__()

int meshlib.mrmeshpy.SignDetectionMode.__hash__ ( self)

◆ __index__()

int meshlib.mrmeshpy.SignDetectionMode.__index__ ( self)

◆ __int__()

int meshlib.mrmeshpy.SignDetectionMode.__int__ ( self)

◆ __ne__()

bool meshlib.mrmeshpy.SignDetectionMode.__ne__ ( self,
typing.Any other )

◆ __repr__()

str meshlib.mrmeshpy.SignDetectionMode.__repr__ ( self)

◆ __setstate__()

None meshlib.mrmeshpy.SignDetectionMode.__setstate__ ( self,
int state )

◆ __str__()

str meshlib.mrmeshpy.SignDetectionMode.__str__ ( self)

◆ name()

str meshlib.mrmeshpy.SignDetectionMode.name ( self)

◆ value()

int meshlib.mrmeshpy.SignDetectionMode.value ( self)

Member Data Documentation

◆ HoleWindingRule

typing meshlib.mrmeshpy.SignDetectionMode.HoleWindingRule .ClassVar[SignDetectionMode]
static

◆ OpenVDB

typing meshlib.mrmeshpy.SignDetectionMode.OpenVDB .ClassVar[SignDetectionMode]
static

◆ ProjectionNormal

typing meshlib.mrmeshpy.SignDetectionMode.ProjectionNormal .ClassVar[SignDetectionMode]
static

◆ Unsigned

typing meshlib.mrmeshpy.SignDetectionMode.Unsigned .ClassVar[SignDetectionMode]
static

◆ WindingRule

typing meshlib.mrmeshpy.SignDetectionMode.WindingRule .ClassVar[SignDetectionMode]
static

The documentation for this class was generated from the following file: