MeshLib C# Docs
Loading...
Searching...
No Matches
MR.MarchingCubesParams Class Reference

Generated from class MR.MarchingCubesParams. This is the non-const half of the class. More...

+ Inheritance diagram for MR.MarchingCubesParams:

Public Member Functions

unsafe MarchingCubesParams ()
 Constructs an empty (default-constructed) instance.
 
unsafe MarchingCubesParams (MR.Vector3f origin, MR.Std._ByValue_Function_BoolFuncFromFloat cb, float iso, bool lessInside, MR.Vector_MRVoxelId_MRFaceId? outVoxelPerFaceMap, MR.Std._ByValue_Function_MRVector3fFuncFromConstMRVector3fRefConstMRVector3fRefFloatFloatFloat positioner, int maxVertices, MR.MarchingCubesParams.CachingMode cachingMode, MR.Std._ByValue_Function_VoidFunc freeVolume)
 Constructs MR.MarchingCubesParams elementwise.
 
unsafe MarchingCubesParams (MR._ByValue_MarchingCubesParams _other)
 Generated from constructor MR.MarchingCubesParams.MarchingCubesParams.
 
 MarchingCubesParams (Const_MarchingCubesParams _other)
 Generated from constructor MR.MarchingCubesParams.MarchingCubesParams.
 
 MarchingCubesParams (MarchingCubesParams _other)
 Generated from constructor MR.MarchingCubesParams.MarchingCubesParams.
 
unsafe MR.MarchingCubesParams assign (MR._ByValue_MarchingCubesParams _other)
 Generated from method MR.MarchingCubesParams.operator=.
 

Properties

new unsafe ref MR.Vector3f origin [get]
 origin point of voxels box in 3D space with output mesh
 
new unsafe MR.Std.Function_BoolFuncFromFloat cb [get, protected set]
 progress callback
 
new unsafe ref float iso [get]
 target iso-value of the surface to be extracted from volume
 
new unsafe ref bool lessInside [get]
 should be false for dense volumes, and true for distance volume
 
new unsafe MR.? Vector_MRVoxelId_MRFaceId outVoxelPerFaceMap [get, set]
 optional output map FaceId->VoxelId
 
new unsafe MR.Std.Function_MRVector3fFuncFromConstMRVector3fRefConstMRVector3fRefFloatFloatFloat positioner [get, protected set]
 
new unsafe ref int maxVertices [get]
 if the mesh exceeds this number of vertices, an error returns
 
new unsafe ref MR.MarchingCubesParams.CachingMode cachingMode [get]
 
new unsafe MR.Std.Function_VoidFunc freeVolume [get, protected set]
 this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption
 

Detailed Description

Generated from class MR.MarchingCubesParams. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ MarchingCubesParams() [1/5]

unsafe MR.MarchingCubesParams.MarchingCubesParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ MarchingCubesParams() [2/5]

unsafe MR.MarchingCubesParams.MarchingCubesParams ( MR.Vector3f origin,
MR.Std._ByValue_Function_BoolFuncFromFloat cb,
float iso,
bool lessInside,
MR.Vector_MRVoxelId_MRFaceId? outVoxelPerFaceMap,
MR.Std._ByValue_Function_MRVector3fFuncFromConstMRVector3fRefConstMRVector3fRefFloatFloatFloat positioner,
int maxVertices,
MR.MarchingCubesParams.CachingMode cachingMode,
MR.Std._ByValue_Function_VoidFunc freeVolume )
inline

Constructs MR.MarchingCubesParams elementwise.

◆ MarchingCubesParams() [3/5]

unsafe MR.MarchingCubesParams.MarchingCubesParams ( MR._ByValue_MarchingCubesParams _other)
inline

Generated from constructor MR.MarchingCubesParams.MarchingCubesParams.

◆ MarchingCubesParams() [4/5]

MR.MarchingCubesParams.MarchingCubesParams ( Const_MarchingCubesParams _other)
inline

Generated from constructor MR.MarchingCubesParams.MarchingCubesParams.

◆ MarchingCubesParams() [5/5]

MR.MarchingCubesParams.MarchingCubesParams ( MarchingCubesParams _other)
inline

Generated from constructor MR.MarchingCubesParams.MarchingCubesParams.

Member Function Documentation

◆ assign()

unsafe MR.MarchingCubesParams MR.MarchingCubesParams.assign ( MR._ByValue_MarchingCubesParams _other)
inline

Generated from method MR.MarchingCubesParams.operator=.

Property Documentation

◆ cachingMode

new unsafe ref MR.MarchingCubesParams.CachingMode MR.MarchingCubesParams.cachingMode
get

◆ cb

new unsafe MR.Std.Function_BoolFuncFromFloat MR.MarchingCubesParams.cb
getprotected set

progress callback

◆ freeVolume

new unsafe MR.Std.Function_VoidFunc MR.MarchingCubesParams.freeVolume
getprotected set

this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption

◆ iso

new unsafe ref float MR.MarchingCubesParams.iso
get

target iso-value of the surface to be extracted from volume

◆ lessInside

new unsafe ref bool MR.MarchingCubesParams.lessInside
get

should be false for dense volumes, and true for distance volume

◆ maxVertices

new unsafe ref int MR.MarchingCubesParams.maxVertices
get

if the mesh exceeds this number of vertices, an error returns

◆ origin

new unsafe ref MR.Vector3f MR.MarchingCubesParams.origin
get

origin point of voxels box in 3D space with output mesh

◆ outVoxelPerFaceMap

new unsafe MR.? Vector_MRVoxelId_MRFaceId MR.MarchingCubesParams.outVoxelPerFaceMap
getset

optional output map FaceId->VoxelId

◆ positioner

new unsafe MR.Std.Function_MRVector3fFuncFromConstMRVector3fRefConstMRVector3fRefFloatFloatFloat MR.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: