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 |
Generated from: MR::MarchingCubesParams
| 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
| MarchingCubesParams.CachingMode mrmeshpy.ConstMarchingCubesParams.cachingMode | ( | self | ) |
| Const_func_bool_from_float mrmeshpy.ConstMarchingCubesParams.cb | ( | self | ) |
progress callback
Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.
| 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.
| float mrmeshpy.ConstMarchingCubesParams.iso | ( | self | ) |
target iso-value of the surface to be extracted from volume
Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.
| bool mrmeshpy.ConstMarchingCubesParams.lessInside | ( | self | ) |
should be false for dense volumes, and true for distance volume
Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.
| int mrmeshpy.ConstMarchingCubesParams.maxVertices | ( | self | ) |
if the mesh exceeds this number of vertices, an error returns
Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.
| ConstVector3f mrmeshpy.ConstMarchingCubesParams.origin | ( | self | ) |
origin point of voxels box in 3D space with output mesh
Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.
| 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.
| Vector_VoxelId_FaceId mrmeshpy.ConstMarchingCubesParams.outVoxelPerFaceMap | ( | self | ) |
optional output map FaceId->VoxelId
Reimplemented in mrmeshpy.MarchingCubesParams, and mrmeshpy.MarchingCubesParams.
| 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.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |