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

Public Member Functions

 __init__ (self, *args, **kwargs)
int layersPerBlock (self)
int nextZ (self)

Detailed Description

Generated from:  MR::MarchingCubesByParts

converts volume split on parts by planes z=const into mesh,
last z-layer of previous part must be repeated as first z-layer of next part
usage:
MarchingCubesByParts x( dims, params);
x.addPart( part1 );
...
x.addPart( partN );
Mesh mesh = Mesh::fromTriMesh( *x.finalize() );

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstMarchingCubesByParts.__init__ ( self,
* args,
** kwargs )
__init__(self: meshlib.mrmeshpy.ConstMarchingCubesByParts, dims: meshlib.mrmeshpy.ConstVector3i, params: meshlib.mrmeshpy.ConstMarchingCubesParams, layersPerBlock: int = 0) -> None

prepares convention for given volume dimensions and given parameters
\\param layersPerBlock all z-slices of the volume will be partitioned on blocks of given size to process blocks in parallel (0 means auto-select layersPerBlock)

Member Function Documentation

◆ layersPerBlock()

int mrmeshpy.ConstMarchingCubesByParts.layersPerBlock ( self)
the number of z-slices of the volume in the blocks

◆ nextZ()

int mrmeshpy.ConstMarchingCubesByParts.nextZ ( self)
the last z-layer of the previous part and the first z-layer of the next part

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