MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.SharpOffsetParameters Class Reference
Inheritance diagram for mrmeshpy.SharpOffsetParameters:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstSharpOffsetParameters arg0)
SharpOffsetParameters assign (self, ConstSharpOffsetParameters other)
int maxDeletedComponentFaces (self)
None maxDeletedComponentFaces (self, int arg1)
float maxNewRank2VertDev (self)
None maxNewRank2VertDev (self, float arg1)
float maxNewRank3VertDev (self)
None maxNewRank3VertDev (self, float arg1)
float maxOldVertPosCorrection (self)
None maxOldVertPosCorrection (self, float arg1)
float minNewVertDev (self)
None minNewVertDev (self, float arg1)
UndirectedEdgeBitSet outSharpEdges (self)
None outSharpEdges (self, UndirectedEdgeBitSet arg1)
Vector_VoxelId_FaceId outVoxelPerFace (self)
None outVoxelPerFace (self, Vector_VoxelId_FaceId arg1)
bool voxelClamp (self)
None voxelClamp (self, bool arg1)
Public Member Functions inherited from mrmeshpy.ConstSharpOffsetParameters
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.ConstOffsetParameters
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.ConstBaseShellParameters
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.OffsetParameters
None __init__ (self)
None __init__ (self, ConstOffsetParameters arg0)
bool closeHolesInHoleWindingNumber (self)
None closeHolesInHoleWindingNumber (self, bool arg1)
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 mrmeshpy.BaseShellParameters
None __init__ (self)
None __init__ (self, ConstBaseShellParameters arg0)
None __init__ (self, float voxelSize, Const_func_bool_from_float callBack)
func_bool_from_float callBack (self)
None callBack (self, Const_func_bool_from_float arg1)
float voxelSize (self)
None voxelSize (self, float arg1)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.OffsetParameters
None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.BaseShellParameters
None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstSharpOffsetParameters
typing _offsetof_maxDeletedComponentFaces = 116
typing _offsetof_maxNewRank2VertDev = 100
typing _offsetof_maxNewRank3VertDev = 104
typing _offsetof_maxOldVertPosCorrection = 108
typing _offsetof_minNewVertDev = 96
typing _offsetof_outSharpEdges = 80
typing _offsetof_outVoxelPerFace = 88
typing _offsetof_voxelClamp = 112
Static Protected Attributes inherited from mrmeshpy.ConstOffsetParameters
typing _offsetof_closeHolesInHoleWindingNumber = 44
typing _offsetof_fwn = 56
typing _offsetof_memoryEfficient = 72
typing _offsetof_signDetectionMode = 40
typing _offsetof_windingNumberBeta = 52
typing _offsetof_windingNumberThreshold = 48
Static Protected Attributes inherited from mrmeshpy.ConstBaseShellParameters
typing _offsetof_callBack = 8
typing _offsetof_voxelSize = 0

Detailed Description

Generated from:  MR::SharpOffsetParameters

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.SharpOffsetParameters.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.SharpOffsetParameters.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.SharpOffsetParameters.__init__ ( self,
ConstSharpOffsetParameters arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

SharpOffsetParameters mrmeshpy.SharpOffsetParameters.assign ( self,
ConstSharpOffsetParameters other )

Reimplemented from mrmeshpy.OffsetParameters.

Reimplemented in mrmeshpy.GeneralOffsetParameters.

◆ maxDeletedComponentFaces() [1/2]

int mrmeshpy.SharpOffsetParameters.maxDeletedComponentFaces ( self)
if positive, then after sharpening every connected component with not more than this number of triangles
intersecting a larger component is deleted; such tiny fragments appear near sharp creases

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ maxDeletedComponentFaces() [2/2]

None mrmeshpy.SharpOffsetParameters.maxDeletedComponentFaces ( self,
int arg1 )
if positive, then after sharpening every connected component with not more than this number of triangles
intersecting a larger component is deleted; such tiny fragments appear near sharp creases

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ maxNewRank2VertDev() [1/2]

float mrmeshpy.SharpOffsetParameters.maxNewRank2VertDev ( self)
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ maxNewRank2VertDev() [2/2]

None mrmeshpy.SharpOffsetParameters.maxNewRank2VertDev ( self,
float arg1 )
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ maxNewRank3VertDev() [1/2]

float mrmeshpy.SharpOffsetParameters.maxNewRank3VertDev ( self)
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ maxNewRank3VertDev() [2/2]

None mrmeshpy.SharpOffsetParameters.maxNewRank3VertDev ( self,
float arg1 )
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ maxOldVertPosCorrection() [1/2]

float mrmeshpy.SharpOffsetParameters.maxOldVertPosCorrection ( self)
correct positions of the input vertices using reference mesh by not more than this distance, measured in voxelSize;
big correction can be wrong and result from self-intersections in the reference mesh

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ maxOldVertPosCorrection() [2/2]

None mrmeshpy.SharpOffsetParameters.maxOldVertPosCorrection ( self,
float arg1 )
correct positions of the input vertices using reference mesh by not more than this distance, measured in voxelSize;
big correction can be wrong and result from self-intersections in the reference mesh

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ minNewVertDev() [1/2]

float mrmeshpy.SharpOffsetParameters.minNewVertDev ( self)
minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ minNewVertDev() [2/2]

None mrmeshpy.SharpOffsetParameters.minNewVertDev ( self,
float arg1 )
minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ outSharpEdges() [1/2]

UndirectedEdgeBitSet mrmeshpy.SharpOffsetParameters.outSharpEdges ( self)
if non-null then created sharp edges will be saved here

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ outSharpEdges() [2/2]

None mrmeshpy.SharpOffsetParameters.outSharpEdges ( self,
UndirectedEdgeBitSet arg1 )
if non-null then created sharp edges will be saved here

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ outVoxelPerFace() [1/2]

Vector_VoxelId_FaceId mrmeshpy.SharpOffsetParameters.outVoxelPerFace ( self)
if non-null then for each output mesh face maps its voxel id

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ outVoxelPerFace() [2/2]

None mrmeshpy.SharpOffsetParameters.outVoxelPerFace ( self,
Vector_VoxelId_FaceId arg1 )
if non-null then for each output mesh face maps its voxel id

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ voxelClamp() [1/2]

bool mrmeshpy.SharpOffsetParameters.voxelClamp ( self)
if true, the displacement of a new vertex from the average point is shortened to keep the vertex
within its voxel's box (so the geometry of a voxel can never reach another one),
and the in-plane elevation check is skipped

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.

◆ voxelClamp() [2/2]

None mrmeshpy.SharpOffsetParameters.voxelClamp ( self,
bool arg1 )
if true, the displacement of a new vertex from the average point is shortened to keep the vertex
within its voxel's box (so the geometry of a voxel can never reach another one),
and the in-plane elevation check is skipped

Reimplemented from mrmeshpy.ConstSharpOffsetParameters.


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