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() ); Generated from class MR.MarchingCubesByParts. This is the non-const half of the class.
More...
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() ); Generated from class MR.MarchingCubesByParts. This is the non-const half of the class.
◆ MarchingCubesByParts() [1/2]
| unsafe MR.MarchingCubesByParts.MarchingCubesByParts |
( |
MR._ByValue_MarchingCubesByParts | s | ) |
|
|
inline |
Generated from constructor MR.MarchingCubesByParts.MarchingCubesByParts.
◆ MarchingCubesByParts() [2/2]
| unsafe MR.MarchingCubesByParts.MarchingCubesByParts |
( |
in MR.Vector3i | dims, |
|
|
MR.Const_MarchingCubesParams | params_, |
|
|
int? | layersPerBlock = null ) |
|
inline |
prepares convention for given volume dimensions and given parameters
- Parameters
-
| 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) Generated from constructor MR.MarchingCubesByParts.MarchingCubesByParts. Parameter layersPerBlock defaults to 0. |
◆ addPart()
| unsafe void MR.MarchingCubesByParts.addPart |
( |
MR.Const_SimpleVolume | part | ) |
|
|
inline |
◆ assign()
Generated from method MR.MarchingCubesByParts.operator=.
◆ finalize()
| unsafe MR.TriMesh MR.MarchingCubesByParts.finalize |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: