Static Public Member Functions | |
| 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.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 |
Generated from: MR::OffsetParameters
|
static |
| None mrmeshpy.OffsetParameters.__init__ | ( | self | ) |
| None mrmeshpy.OffsetParameters.__init__ | ( | self, | |
| ConstOffsetParameters | arg0 ) |
Implicit copy constructor.
| OffsetParameters mrmeshpy.OffsetParameters.assign | ( | self, | |
| ConstOffsetParameters | other ) |
Reimplemented from mrmeshpy.BaseShellParameters.
Reimplemented in mrmeshpy.GeneralOffsetParameters, and mrmeshpy.SharpOffsetParameters.
| bool mrmeshpy.OffsetParameters.closeHolesInHoleWindingNumber | ( | self | ) |
whether to construct closed mesh in signMode = SignDetectionModeShort::HoleWindingNumber
Reimplemented from mrmeshpy.ConstOffsetParameters.
| None mrmeshpy.OffsetParameters.closeHolesInHoleWindingNumber | ( | self, | |
| bool | arg1 ) |
whether to construct closed mesh in signMode = SignDetectionModeShort::HoleWindingNumber
Reimplemented from mrmeshpy.ConstOffsetParameters.
| IFastWindingNumber mrmeshpy.OffsetParameters.fwn | ( | self | ) |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used this only used if signDetectionMode == SignDetectionMode::HoleWindingRule, otherwise it is ignored providing this will disable memoryEfficient (as if memoryEfficient == false)
Reimplemented from mrmeshpy.ConstOffsetParameters.
| None mrmeshpy.OffsetParameters.fwn | ( | self, | |
| IFastWindingNumber | arg1 ) |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used this only used if signDetectionMode == SignDetectionMode::HoleWindingRule, otherwise it is ignored providing this will disable memoryEfficient (as if memoryEfficient == false)
Reimplemented from mrmeshpy.ConstOffsetParameters.
| bool 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
Reimplemented from mrmeshpy.ConstOffsetParameters.
| None mrmeshpy.OffsetParameters.memoryEfficient | ( | self, | |
| bool | arg1 ) |
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
Reimplemented from mrmeshpy.ConstOffsetParameters.
| SignDetectionMode mrmeshpy.OffsetParameters.signDetectionMode | ( | self | ) |
determines the method to compute distance sign; \\ref offsetMesh implementing OffsetMode::Smooth supports only Unsigned, OpenVDB and HoleWindingRule here
Reimplemented from mrmeshpy.ConstOffsetParameters.
| None mrmeshpy.OffsetParameters.signDetectionMode | ( | self, | |
| SignDetectionMode | arg1 ) |
determines the method to compute distance sign; \\ref offsetMesh implementing OffsetMode::Smooth supports only Unsigned, OpenVDB and HoleWindingRule here
Reimplemented from mrmeshpy.ConstOffsetParameters.
| float mrmeshpy.OffsetParameters.windingNumberBeta | ( | self | ) |
only for SignDetectionMode::HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
Reimplemented from mrmeshpy.ConstOffsetParameters.
| None mrmeshpy.OffsetParameters.windingNumberBeta | ( | self, | |
| float | arg1 ) |
only for SignDetectionMode::HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
Reimplemented from mrmeshpy.ConstOffsetParameters.
| float 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
Reimplemented from mrmeshpy.ConstOffsetParameters.
| None mrmeshpy.OffsetParameters.windingNumberThreshold | ( | self, | |
| float | arg1 ) |
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
Reimplemented from mrmeshpy.ConstOffsetParameters.