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

Classes

class  CachingMode

Public Member Functions

 __init__ (self, *args, **kwargs)
MarchingCubesParams.CachingMode cachingMode (self)
Const_func_bool_from_float cb (self)
Const_func_void freeVolume (self)
float iso (self)
bool lessInside (self)
int maxVertices (self)
ConstVector3f origin (self)
AffineXf3f outGridToMeshXf (self)
Vector_VoxelId_FaceId outVoxelPerFaceMap (self)
Const_func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float positioner (self)

Static Protected Attributes

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__()

mrmeshpy.ConstMarchingCubesParams.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstMarchingCubesParams) -> None

2. __init__(self: meshlib.mrmeshpy.ConstMarchingCubesParams, arg0: meshlib.mrmeshpy.ConstMarchingCubesParams) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMarchingCubesParams, origin: meshlib.mrmeshpy.ConstVector3f, cb: meshlib.mrmeshpy.Const_func_bool_from_float, iso: float, lessInside: bool, outVoxelPerFaceMap: meshlib.mrmeshpy.Vector_VoxelId_FaceId, outGridToMeshXf: meshlib.mrmeshpy.AffineXf3f, positioner: meshlib.mrmeshpy.Const_func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float, maxVertices: int, cachingMode: meshlib.mrmeshpy.MarchingCubesParams.CachingMode, freeVolume: meshlib.mrmeshpy.Const_func_void) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstMarchingCubesParams, : meshlib.mrmeshpy.ConstMarchingCubesParams) -> None

Member Function Documentation

◆ cachingMode()

MarchingCubesParams.CachingMode mrmeshpy.ConstMarchingCubesParams.cachingMode ( self)

◆ cb()

Const_func_bool_from_float mrmeshpy.ConstMarchingCubesParams.cb ( self)
progress callback

Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.

◆ freeVolume()

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

Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.

◆ iso()

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

Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.

◆ lessInside()

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

Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.

◆ maxVertices()

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

Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.

◆ origin()

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

Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.

◆ outGridToMeshXf()

AffineXf3f mrmeshpy.ConstMarchingCubesParams.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 in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.

◆ outVoxelPerFaceMap()

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

Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.

◆ positioner()

Const_func_Vector3_float_from_Vector3_float_Vector3_float_float_float_float mrmeshpy.ConstMarchingCubesParams.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 in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.

Member Data Documentation

◆ _offsetof_cachingMode

typing mrmeshpy.ConstMarchingCubesParams._offsetof_cachingMode = 108
staticprotected

◆ _offsetof_cb

typing mrmeshpy.ConstMarchingCubesParams._offsetof_cb = 16
staticprotected

◆ _offsetof_freeVolume

typing mrmeshpy.ConstMarchingCubesParams._offsetof_freeVolume = 112
staticprotected

◆ _offsetof_iso

typing mrmeshpy.ConstMarchingCubesParams._offsetof_iso = 48
staticprotected

◆ _offsetof_lessInside

typing mrmeshpy.ConstMarchingCubesParams._offsetof_lessInside = 52
staticprotected

◆ _offsetof_maxVertices

typing mrmeshpy.ConstMarchingCubesParams._offsetof_maxVertices = 104
staticprotected

◆ _offsetof_origin

typing mrmeshpy.ConstMarchingCubesParams._offsetof_origin = 0
staticprotected

◆ _offsetof_outGridToMeshXf

typing mrmeshpy.ConstMarchingCubesParams._offsetof_outGridToMeshXf = 64
staticprotected

◆ _offsetof_outVoxelPerFaceMap

typing mrmeshpy.ConstMarchingCubesParams._offsetof_outVoxelPerFaceMap = 56
staticprotected

◆ _offsetof_positioner

typing mrmeshpy.ConstMarchingCubesParams._offsetof_positioner = 72
staticprotected

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