MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MarchingCubesParams Class Reference
Inheritance diagram for mrmeshpy.MarchingCubesParams:

Classes

class  CachingMode

Public Member Functions

None __init__ (self)
None __init__ (self, ConstMarchingCubesParams arg0)
None __init__ (self, ConstVector3f origin, Const_func_bool_from_float cb, float iso, bool lessInside, Vector_VoxelId_FaceId outVoxelPerFaceMap, AffineXf3f outGridToMeshXf, Const_func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float positioner, int maxVertices, MarchingCubesParams.CachingMode cachingMode, Const_func_void freeVolume)
MarchingCubesParams assign (self, ConstMarchingCubesParams other)
func_bool_from_float cb (self)
None cb (self, Const_func_bool_from_float arg1)
func_void freeVolume (self)
None freeVolume (self, Const_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, ConstVector3f arg1)
AffineXf3f outGridToMeshXf (self)
None outGridToMeshXf (self, AffineXf3f arg1)
Vector_VoxelId_FaceId outVoxelPerFaceMap (self)
None outVoxelPerFaceMap (self, Vector_VoxelId_FaceId arg1)
func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float positioner (self)
None positioner (self, Const_func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float arg1)
Public Member Functions inherited from mrmeshpy.ConstMarchingCubesParams
 __init__ (self, *args, **kwargs)
MarchingCubesParams.CachingMode cachingMode (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMarchingCubesParams
typing _offsetof_cachingMode = 108
typing _offsetof_cb = 16
typing _offsetof_freeVolume = 112
typing _offsetof_iso = 48
typing _offsetof_lessInside = 52
typing _offsetof_maxVertices = 104
typing _offsetof_origin = 0
typing _offsetof_outGridToMeshXf = 64
typing _offsetof_outVoxelPerFaceMap = 56
typing _offsetof_positioner = 72

Detailed Description

Generated from:  MR::MarchingCubesParams

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.MarchingCubesParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.MarchingCubesParams.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.MarchingCubesParams.__init__ ( self,
ConstVector3f origin,
Const_func_bool_from_float cb,
float iso,
bool lessInside,
Vector_VoxelId_FaceId outVoxelPerFaceMap,
AffineXf3f outGridToMeshXf,
Const_func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float positioner,
int maxVertices,
MarchingCubesParams.CachingMode cachingMode,
Const_func_void freeVolume )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

MarchingCubesParams mrmeshpy.MarchingCubesParams.assign ( self,
ConstMarchingCubesParams other )

◆ cb() [1/2]

func_bool_from_float mrmeshpy.MarchingCubesParams.cb ( self)
progress callback

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ cb() [2/2]

None mrmeshpy.MarchingCubesParams.cb ( self,
Const_func_bool_from_float arg1 )
progress callback

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ 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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ freeVolume() [2/2]

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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ iso() [1/2]

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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ iso() [2/2]

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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ lessInside() [1/2]

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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ lessInside() [2/2]

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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ maxVertices() [1/2]

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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ maxVertices() [2/2]

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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ origin() [1/2]

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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ origin() [2/2]

None mrmeshpy.MarchingCubesParams.origin ( self,
ConstVector3f arg1 )
origin point of voxels box in 3D space with output mesh

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ outGridToMeshXf() [1/2]

AffineXf3f mrmeshpy.MarchingCubesParams.outGridToMeshXf ( self)
optional output transform from integer grid locations to mesh reference frame:
the node with integer coordinates (i,j,k) is located in (*outGridToMeshXf)( Vector3f( i, j, k ) );
every vertex of output mesh is located on a grid edge

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ outGridToMeshXf() [2/2]

None mrmeshpy.MarchingCubesParams.outGridToMeshXf ( self,
AffineXf3f arg1 )
optional output transform from integer grid locations to mesh reference frame:
the node with integer coordinates (i,j,k) is located in (*outGridToMeshXf)( Vector3f( i, j, k ) );
every vertex of output mesh is located on a grid edge

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ outVoxelPerFaceMap() [1/2]

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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ outVoxelPerFaceMap() [2/2]

None mrmeshpy.MarchingCubesParams.outVoxelPerFaceMap ( self,
Vector_VoxelId_FaceId arg1 )
optional output map FaceId->VoxelId

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ 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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.

◆ positioner() [2/2]

None mrmeshpy.MarchingCubesParams.positioner ( self,
Const_func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float arg1 )
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

Reimplemented from mrmeshpy.ConstMarchingCubesParams.


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