MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.OffsetParameters Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.OffsetParameters:

Public Member Functions

None __init__ (self)
 
None __init__ (self, OffsetParameters arg0)
 
IFastWindingNumber fwn (self)
 
None fwn (self, IFastWindingNumber arg1)
 
bool memoryEfficient (self)
 
None memoryEfficient (self, bool arg1)
 
SignDetectionMode signDetectionMode (self)
 
None signDetectionMode (self, SignDetectionMode arg1)
 
float windingNumberBeta (self)
 
None windingNumberBeta (self, float arg1)
 
float windingNumberThreshold (self)
 
None windingNumberThreshold (self, float arg1)
 
- Public Member Functions inherited from meshlib.mrmeshpy.BaseShellParameters
func_bool_from_float callBack (self)
 
None callBack (self, func_bool_from_float arg1)
 
float voxelSize (self)
 
None voxelSize (self, float arg1)
 

Detailed Description

Generated from:  MR::OffsetParameters

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.OffsetParameters.__init__ ( self)

◆ __init__() [2/2]

None meshlib.mrmeshpy.OffsetParameters.__init__ ( self,
OffsetParameters arg0 )

Member Function Documentation

◆ fwn() [1/2]

IFastWindingNumber meshlib.mrmeshpy.OffsetParameters.fwn ( self)
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used

◆ fwn() [2/2]

None meshlib.mrmeshpy.OffsetParameters.fwn ( self,
IFastWindingNumber arg1 )

◆ memoryEfficient() [1/2]

bool meshlib.mrmeshpy.OffsetParameters.memoryEfficient ( self)
use FunctionVolume for voxel grid representation:
 - memory consumption for voxel storage is approx. (dims.z / (2 * thread_count)) lesser
 - computations are about 15% slower (because some z-layers are computed twice)
this setting is ignored (as if memoryEfficient == false) if
 a) signDetectionMode = SignDetectionMode::OpenVDB, or
 b) \\ref fwn is provided (CUDA computations require full memory storage)
used only by \\ref mcOffsetMesh and \\ref sharpOffsetMesh methods

◆ memoryEfficient() [2/2]

None meshlib.mrmeshpy.OffsetParameters.memoryEfficient ( self,
bool arg1 )

◆ signDetectionMode() [1/2]

SignDetectionMode meshlib.mrmeshpy.OffsetParameters.signDetectionMode ( self)
determines the method to compute distance sign

◆ signDetectionMode() [2/2]

None meshlib.mrmeshpy.OffsetParameters.signDetectionMode ( self,
SignDetectionMode arg1 )

◆ windingNumberBeta() [1/2]

float meshlib.mrmeshpy.OffsetParameters.windingNumberBeta ( self)
only for SignDetectionMode::HoleWindingRule:
determines the precision of fast approximation: the more the better, minimum value is 1

◆ windingNumberBeta() [2/2]

None meshlib.mrmeshpy.OffsetParameters.windingNumberBeta ( self,
float arg1 )

◆ windingNumberThreshold() [1/2]

float meshlib.mrmeshpy.OffsetParameters.windingNumberThreshold ( self)
only for SignDetectionMode::HoleWindingRule:
positive distance if winding number below or equal this threshold;
ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes

◆ windingNumberThreshold() [2/2]

None meshlib.mrmeshpy.OffsetParameters.windingNumberThreshold ( self,
float arg1 )

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