Generated from class MR.MarchingCubesParams. This is the const half of the class.
More...
|
| enum | CachingMode : int { Automatic = 0
, None = 1
, Normal = 2
} |
| | caching mode to reduce the number of accesses to voxel volume data on the first pass of the algorithm by consuming more memory on cache; note: the cache for the second pass of the algorithm (bit sets of invalid and lower-than-iso voxels are always allocated) More...
|
|
| virtual unsafe void | Dispose (bool disposing) |
|
| unsafe ref readonly MR.Vector3f | origin [get] |
| | origin point of voxels box in 3D space with output mesh
|
| unsafe MR.Std.Const_Function_Bool_From_Float | cb [get, protected set] |
| | progress callback
|
| unsafe float | iso [get] |
| | target iso-value of the surface to be extracted from volume
|
| unsafe bool | lessInside [get] |
| | should be false for dense volumes, and true for distance volume
|
| unsafe MR.? Vector_MRVoxelId_MRFaceId | outVoxelPerFaceMap [get] |
| | optional output map FaceId->VoxelId
|
| unsafe MR.Std.Const_Function_MRVector3f_From_ConstMRVector3fRef_ConstMRVector3fRef_Float_Float_Float | positioner [get, protected set] |
| | function to calculate position of result mesh points if the function isn't set, a linear positioner will be used note: this function is called in parallel from different threads
|
| unsafe int | maxVertices [get] |
| | if the mesh exceeds this number of vertices, an error returns
|
| unsafe MR.MarchingCubesParams.CachingMode | cachingMode [get] |
| unsafe MR.Std.Const_Function_Void | freeVolume [get, protected set] |
| | this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption
|
Generated from class MR.MarchingCubesParams. This is the const half of the class.
◆ CachingMode
caching mode to reduce the number of accesses to voxel volume data on the first pass of the algorithm by consuming more memory on cache; note: the cache for the second pass of the algorithm (bit sets of invalid and lower-than-iso voxels are always allocated)
| Enumerator |
|---|
| Automatic | choose caching mode automatically depending on volume type (current defaults: Normal for FunctionVolume and VdbVolume, None for others)
|
| None | don't cache any data
|
| Normal | allocates 2 full slices per parallel thread
|
◆ Const_MarchingCubesParams() [1/5]
| unsafe MR.Const_MarchingCubesParams.Const_MarchingCubesParams |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ Const_MarchingCubesParams() [2/5]
| unsafe MR.Const_MarchingCubesParams.Const_MarchingCubesParams |
( |
MR.Vector3f | origin, |
|
|
MR.Std._ByValue_Function_Bool_From_Float | cb, |
|
|
float | iso, |
|
|
bool | lessInside, |
|
|
MR.Vector_MRVoxelId_MRFaceId? | outVoxelPerFaceMap, |
|
|
MR.Std._ByValue_Function_MRVector3f_From_ConstMRVector3fRef_ConstMRVector3fRef_Float_Float_Float | positioner, |
|
|
int | maxVertices, |
|
|
MR.MarchingCubesParams.CachingMode | cachingMode, |
|
|
MR.Std._ByValue_Function_Void | freeVolume ) |
|
inline |
◆ Const_MarchingCubesParams() [3/5]
| unsafe MR.Const_MarchingCubesParams.Const_MarchingCubesParams |
( |
MR._ByValue_MarchingCubesParams | _other | ) |
|
|
inline |
◆ Const_MarchingCubesParams() [4/5]
◆ Const_MarchingCubesParams() [5/5]
◆ Dispose() [1/2]
| virtual void MR.Const_MarchingCubesParams.Dispose |
( |
| ) |
|
|
inlinevirtual |
◆ Dispose() [2/2]
| virtual unsafe void MR.Const_MarchingCubesParams.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
◆ __ptr_storage_outVoxelPerFaceMap
| unsafe MR.Vector_MRVoxelId_MRFaceId._Underlying** MR.Const_MarchingCubesParams.__ptr_storage_outVoxelPerFaceMap |
|
protected |
◆ __ref_storage_cachingMode
◆ __ref_storage_iso
| unsafe float* MR.Const_MarchingCubesParams.__ref_storage_iso |
|
protected |
◆ __ref_storage_lessInside
| unsafe bool* MR.Const_MarchingCubesParams.__ref_storage_lessInside |
|
protected |
◆ __ref_storage_maxVertices
| unsafe int* MR.Const_MarchingCubesParams.__ref_storage_maxVertices |
|
protected |
◆ __ref_storage_origin
| unsafe MR.Vector3f* MR.Const_MarchingCubesParams.__ref_storage_origin |
|
protected |
◆ cachingMode
◆ cb
| unsafe MR.Std.Const_Function_Bool_From_Float MR.Const_MarchingCubesParams.cb |
|
getprotected set |
◆ freeVolume
| unsafe MR.Std.Const_Function_Void MR.Const_MarchingCubesParams.freeVolume |
|
getprotected set |
this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption
◆ iso
| unsafe float MR.Const_MarchingCubesParams.iso |
|
get |
target iso-value of the surface to be extracted from volume
◆ lessInside
| unsafe bool MR.Const_MarchingCubesParams.lessInside |
|
get |
should be false for dense volumes, and true for distance volume
◆ maxVertices
| unsafe int MR.Const_MarchingCubesParams.maxVertices |
|
get |
if the mesh exceeds this number of vertices, an error returns
◆ origin
| unsafe ref readonly MR.Vector3f MR.Const_MarchingCubesParams.origin |
|
get |
origin point of voxels box in 3D space with output mesh
◆ outVoxelPerFaceMap
optional output map FaceId->VoxelId
◆ positioner
| unsafe MR.Std.Const_Function_MRVector3f_From_ConstMRVector3fRef_ConstMRVector3fRef_Float_Float_Float MR.Const_MarchingCubesParams.positioner |
|
getprotected set |
function to calculate position of result mesh points if the function isn't set, a linear positioner will be used note: this function is called in parallel from different threads
The documentation for this class was generated from the following file: