MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_MarchingCubesByParts Class Reference

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 const half of the class. More...

Inheritance diagram for MR.Const_MarchingCubesByParts:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_MarchingCubesByParts (MR._ByValue_MarchingCubesByParts s)
 Generated from constructor MR.MarchingCubesByParts.MarchingCubesByParts.
unsafe Const_MarchingCubesByParts (in MR.Vector3i dims, MR.Const_MarchingCubesParams params_, int? layersPerBlock=null)
 prepares convention for given volume dimensions and given parameters
unsafe int layersPerBlock ()
 the number of z-slices of the volume in the blocks Generated from method MR.MarchingCubesByParts.layersPerBlock.
unsafe int nextZ ()
 the last z-layer of the previous part and the first z-layer of the next part Generated from method MR.MarchingCubesByParts.nextZ.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Detailed Description

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 const half of the class.

Constructor & Destructor Documentation

◆ Const_MarchingCubesByParts() [1/2]

unsafe MR.Const_MarchingCubesByParts.Const_MarchingCubesByParts ( MR._ByValue_MarchingCubesByParts s)
inline

Generated from constructor MR.MarchingCubesByParts.MarchingCubesByParts.

◆ Const_MarchingCubesByParts() [2/2]

unsafe MR.Const_MarchingCubesByParts.Const_MarchingCubesByParts ( in MR.Vector3i dims,
MR.Const_MarchingCubesParams params_,
int? layersPerBlock = null )
inline

prepares convention for given volume dimensions and given parameters

Parameters
layersPerBlockall 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.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_MarchingCubesByParts.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_MarchingCubesByParts.Dispose ( bool disposing)
inlineprotectedvirtual

◆ layersPerBlock()

unsafe int MR.Const_MarchingCubesByParts.layersPerBlock ( )
inline

the number of z-slices of the volume in the blocks Generated from method MR.MarchingCubesByParts.layersPerBlock.

◆ nextZ()

unsafe int MR.Const_MarchingCubesByParts.nextZ ( )
inline

the last z-layer of the previous part and the first z-layer of the next part Generated from method MR.MarchingCubesByParts.nextZ.


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