allows the user to select in the parameters which offset algorithm to call Generated from class MR.GeneralOffsetParameters. Base classes: Direct: (non-virtual) MR.SharpOffsetParameters Indirect: (non-virtual) MR.BaseShellParameters MR.OffsetParameters This is the non-const half of the class.
More...
|
| new unsafe ref MR.OffsetMode | mode [get] |
| new unsafe MR.? UndirectedEdgeBitSet | outSharpEdges [get, set] |
| | if non-null then created sharp edges will be saved here
|
| new unsafe ref float | minNewVertDev [get] |
| | minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize
|
| new unsafe ref float | maxNewRank2VertDev [get] |
| | maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize
|
| new unsafe ref float | maxNewRank3VertDev [get] |
| | maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize
|
| new unsafe ref float | maxOldVertPosCorrection [get] |
| | 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
|
| new unsafe ref MR.SignDetectionMode | signDetectionMode [get] |
| | determines the method to compute distance sign
|
| new unsafe ref bool | closeHolesInHoleWindingNumber [get] |
| | whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber
|
| new unsafe ref float | windingNumberThreshold [get] |
| | 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
|
| new unsafe ref float | windingNumberBeta [get] |
| | only for SignDetectionMode.HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
|
| new unsafe MR.Std.SharedPtr_MRIFastWindingNumber | fwn [get, protected set] |
| | 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)
|
| new unsafe ref bool | memoryEfficient [get] |
| | use FunctionVolume for voxel grid representation:
|
| new unsafe ref float | voxelSize [get] |
| | Size of voxel in grid conversions; The user is responsible for setting some positive value here.
|
| new unsafe MR.Std.Function_Bool_From_Float | callBack [get, protected set] |
| | Progress callback.
|
allows the user to select in the parameters which offset algorithm to call Generated from class MR.GeneralOffsetParameters. Base classes: Direct: (non-virtual) MR.SharpOffsetParameters Indirect: (non-virtual) MR.BaseShellParameters MR.OffsetParameters This is the non-const half of the class.
◆ GeneralOffsetParameters() [1/4]
| unsafe MR.GeneralOffsetParameters.GeneralOffsetParameters |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ GeneralOffsetParameters() [2/4]
| unsafe MR.GeneralOffsetParameters.GeneralOffsetParameters |
( |
MR._ByValue_GeneralOffsetParameters | _other | ) |
|
|
inline |
◆ GeneralOffsetParameters() [3/4]
| MR.GeneralOffsetParameters.GeneralOffsetParameters |
( |
Const_GeneralOffsetParameters | _other | ) |
|
|
inline |
◆ GeneralOffsetParameters() [4/4]
◆ assign()
Generated from method MR::GeneralOffsetParameters::operator=.
◆ operator MR.BaseShellParameters()
◆ operator MR.OffsetParameters()
◆ operator MR.SharpOffsetParameters()
◆ callBack
| new unsafe MR.Std.Function_Bool_From_Float MR.GeneralOffsetParameters.callBack |
|
getprotected set |
◆ closeHolesInHoleWindingNumber
| new unsafe ref bool MR.GeneralOffsetParameters.closeHolesInHoleWindingNumber |
|
get |
◆ fwn
| new unsafe MR.Std.SharedPtr_MRIFastWindingNumber MR.GeneralOffsetParameters.fwn |
|
getprotected set |
◆ maxNewRank2VertDev
| new unsafe ref float MR.GeneralOffsetParameters.maxNewRank2VertDev |
|
get |
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize
◆ maxNewRank3VertDev
| new unsafe ref float MR.GeneralOffsetParameters.maxNewRank3VertDev |
|
get |
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize
◆ maxOldVertPosCorrection
| new unsafe ref float MR.GeneralOffsetParameters.maxOldVertPosCorrection |
|
get |
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
◆ memoryEfficient
| new unsafe ref bool MR.GeneralOffsetParameters.memoryEfficient |
|
get |
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) fwn is provided (CUDA computations require full memory storage) used only by mcOffsetMesh and sharpOffsetMesh methods
◆ minNewVertDev
| new unsafe ref float MR.GeneralOffsetParameters.minNewVertDev |
|
get |
minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize
◆ mode
◆ outSharpEdges
if non-null then created sharp edges will be saved here
◆ signDetectionMode
determines the method to compute distance sign
◆ voxelSize
| new unsafe ref float MR.GeneralOffsetParameters.voxelSize |
|
get |
Size of voxel in grid conversions; The user is responsible for setting some positive value here.
◆ windingNumberBeta
| new unsafe ref float MR.GeneralOffsetParameters.windingNumberBeta |
|
get |
◆ windingNumberThreshold
| new unsafe ref float MR.GeneralOffsetParameters.windingNumberThreshold |
|
get |
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
The documentation for this class was generated from the following file: