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 const half of the class. More...
Classes | |
| struct | _Underlying |
Public Member Functions | |
| virtual void | Dispose () |
| unsafe | Const_GeneralOffsetParameters () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Const_GeneralOffsetParameters (MR._ByValue_GeneralOffsetParameters _other) |
| Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters. | |
| Const_GeneralOffsetParameters (Const_GeneralOffsetParameters _other) | |
| Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters. | |
| Const_GeneralOffsetParameters (GeneralOffsetParameters _other) | |
| Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters. | |
Static Public Member Functions | |
| static unsafe implicit | operator MR.Const_BaseShellParameters (Const_GeneralOffsetParameters self) |
| static unsafe implicit | operator MR.Const_OffsetParameters (Const_GeneralOffsetParameters self) |
| static unsafe implicit | operator MR.Const_SharpOffsetParameters (Const_GeneralOffsetParameters self) |
Protected Member Functions | |
| virtual unsafe void | Dispose (bool disposing) |
Protected Attributes | |
| unsafe MR.OffsetMode * | __ref_storage_mode |
| unsafe MR.UndirectedEdgeBitSet._Underlying ** | __ptr_storage_outSharpEdges |
| unsafe MR.Vector_MRVoxelId_MRFaceId._Underlying ** | __ptr_storage_outVoxelPerFace |
| unsafe float * | __ref_storage_minNewVertDev |
| unsafe float * | __ref_storage_maxNewRank2VertDev |
| unsafe float * | __ref_storage_maxNewRank3VertDev |
| unsafe float * | __ref_storage_maxOldVertPosCorrection |
| unsafe bool * | __ref_storage_voxelClamp |
| unsafe int * | __ref_storage_maxDeletedComponentFaces |
| unsafe MR.SignDetectionMode * | __ref_storage_signDetectionMode |
| unsafe bool * | __ref_storage_closeHolesInHoleWindingNumber |
| unsafe float * | __ref_storage_windingNumberThreshold |
| unsafe float * | __ref_storage_windingNumberBeta |
| unsafe bool * | __ref_storage_memoryEfficient |
| unsafe float * | __ref_storage_voxelSize |
Properties | |
| unsafe MR.OffsetMode | mode [get] |
| unsafe MR.? UndirectedEdgeBitSet | outSharpEdges [get] |
| if non-null then created sharp edges will be saved here | |
| unsafe MR.? Vector_MRVoxelId_MRFaceId | outVoxelPerFace [get] |
| if non-null then for each output mesh face maps its voxel id | |
| unsafe float | minNewVertDev [get] |
| minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize | |
| unsafe float | maxNewRank2VertDev [get] |
| maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize | |
| unsafe float | maxNewRank3VertDev [get] |
| maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize | |
| unsafe 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 | |
| unsafe bool | voxelClamp [get] |
| 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 | |
| unsafe int | maxDeletedComponentFaces [get] |
| 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 | |
| unsafe MR.SignDetectionMode | signDetectionMode [get] |
| determines the method to compute distance sign; offsetMesh implementing OffsetMode.Smooth supports only Unsigned, OpenVDB and HoleWindingRule here | |
| unsafe bool | closeHolesInHoleWindingNumber [get] |
| whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber | |
| unsafe 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 | |
| unsafe float | windingNumberBeta [get] |
| only for SignDetectionMode.HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1 | |
| unsafe MR.Std.Const_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) | |
| unsafe bool | memoryEfficient [get] |
| use FunctionVolume for voxel grid representation: | |
| unsafe float | voxelSize [get] |
| Size of voxel in grid conversions; The user is responsible for setting some positive value here. | |
| unsafe MR.Std.Const_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 const half of the class.
|
inline |
Constructs an empty (default-constructed) instance.
|
inline |
Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters.
|
inline |
Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters.
|
inline |
Generated from constructor MR.GeneralOffsetParameters.GeneralOffsetParameters.
|
inlinevirtual |
|
inlineprotectedvirtual |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
getprotected set |
Progress callback.
|
get |
whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber
|
getprotected 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)
|
get |
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
|
get |
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes), measured in voxelSize
|
get |
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes), measured in voxelSize
|
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
|
get |
use FunctionVolume for voxel grid representation:
|
get |
minimal surface deviation to introduce new vertex in a voxel, measured in voxelSize
|
get |
|
get |
if non-null then created sharp edges will be saved here
|
get |
if non-null then for each output mesh face maps its voxel id
|
get |
determines the method to compute distance sign; offsetMesh implementing OffsetMode.Smooth supports only Unsigned, OpenVDB and HoleWindingRule here
|
get |
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
|
get |
Size of voxel in grid conversions; The user is responsible for setting some positive value here.
|
get |
only for SignDetectionMode.HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1
|
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