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)
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_MarchingCubesByParts >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_MarchingCubesByParts >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

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

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.

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