MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MarchingCubesParams Class Reference

Classes

class  CachingMode
 

Public Member Functions

None __init__ (self)
 
None __init__ (self, MarchingCubesParams arg0)
 
None __init__ (self, Vector3f origin, func_bool_from_float cb, float iso, bool lessInside, Vector_Id_VoxelTag_FaceId outVoxelPerFaceMap, func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float positioner, int maxVertices, MarchingCubesParams.CachingMode cachingMode, func_void freeVolume)
 
func_bool_from_float cb (self)
 
None cb (self, func_bool_from_float arg1)
 
func_void freeVolume (self)
 
None freeVolume (self, func_void arg1)
 
float iso (self)
 
None iso (self, float arg1)
 
bool lessInside (self)
 
None lessInside (self, bool arg1)
 
int maxVertices (self)
 
None maxVertices (self, int arg1)
 
Vector3f origin (self)
 
None origin (self, Vector3f arg1)
 
Vector_Id_VoxelTag_FaceId outVoxelPerFaceMap (self)
 
None outVoxelPerFaceMap (self, Vector_Id_VoxelTag_FaceId arg1)
 
func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float positioner (self)
 
None positioner (self, func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float arg1)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::MarchingCubesParams

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.MarchingCubesParams.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None mrmeshpy.MarchingCubesParams.__init__ ( self,
MarchingCubesParams arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None mrmeshpy.MarchingCubesParams.__init__ ( self,
Vector3f origin,
func_bool_from_float cb,
float iso,
bool lessInside,
Vector_Id_VoxelTag_FaceId outVoxelPerFaceMap,
func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float positioner,
int maxVertices,
MarchingCubesParams.CachingMode cachingMode,
func_void freeVolume )
Implicit aggregate constructor.

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.MarchingCubesParams._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ cb() [1/2]

func_bool_from_float mrmeshpy.MarchingCubesParams.cb ( self)
progress callback

◆ cb() [2/2]

None mrmeshpy.MarchingCubesParams.cb ( self,
func_bool_from_float arg1 )

◆ freeVolume() [1/2]

func_void mrmeshpy.MarchingCubesParams.freeVolume ( self)
this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption

◆ freeVolume() [2/2]

None mrmeshpy.MarchingCubesParams.freeVolume ( self,
func_void arg1 )

◆ iso() [1/2]

float mrmeshpy.MarchingCubesParams.iso ( self)
target iso-value of the surface to be extracted from volume

◆ iso() [2/2]

None mrmeshpy.MarchingCubesParams.iso ( self,
float arg1 )

◆ lessInside() [1/2]

bool mrmeshpy.MarchingCubesParams.lessInside ( self)
should be false for dense volumes, and true for distance volume

◆ lessInside() [2/2]

None mrmeshpy.MarchingCubesParams.lessInside ( self,
bool arg1 )

◆ maxVertices() [1/2]

int mrmeshpy.MarchingCubesParams.maxVertices ( self)
if the mesh exceeds this number of vertices, an error returns

◆ maxVertices() [2/2]

None mrmeshpy.MarchingCubesParams.maxVertices ( self,
int arg1 )

◆ origin() [1/2]

Vector3f mrmeshpy.MarchingCubesParams.origin ( self)
origin point of voxels box in 3D space with output mesh

◆ origin() [2/2]

None mrmeshpy.MarchingCubesParams.origin ( self,
Vector3f arg1 )

◆ outVoxelPerFaceMap() [1/2]

Vector_Id_VoxelTag_FaceId mrmeshpy.MarchingCubesParams.outVoxelPerFaceMap ( self)
optional output map FaceId->VoxelId

◆ outVoxelPerFaceMap() [2/2]

None mrmeshpy.MarchingCubesParams.outVoxelPerFaceMap ( self,
Vector_Id_VoxelTag_FaceId arg1 )

◆ positioner() [1/2]

func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float mrmeshpy.MarchingCubesParams.positioner ( self)
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

◆ positioner() [2/2]

None mrmeshpy.MarchingCubesParams.positioner ( self,
func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float arg1 )

The documentation for this class was generated from the following file: