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

Generated from class MR.MeshFromVoxelsPostProcessingParams. This is the const half of the class. More...

Inheritance diagram for MR.Const_MeshFromVoxelsPostProcessingParams:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_MeshFromVoxelsPostProcessingParams ()
 Constructs an empty (default-constructed) instance.
unsafe Const_MeshFromVoxelsPostProcessingParams (float voxelSize, int reduceAngleNumIters, bool decimate, float tinyEdgeLength, MR.UndirectedEdgeBitSet? sharpEdges)
 Constructs MR.MeshFromVoxelsPostProcessingParams elementwise.
unsafe Const_MeshFromVoxelsPostProcessingParams (MR.Const_MeshFromVoxelsPostProcessingParams _other)
 Generated from constructor MR.MeshFromVoxelsPostProcessingParams.MeshFromVoxelsPostProcessingParams.
 Const_MeshFromVoxelsPostProcessingParams (MeshFromVoxelsPostProcessingParams _other)
 Generated from constructor MR.MeshFromVoxelsPostProcessingParams.MeshFromVoxelsPostProcessingParams.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe float * __ref_storage_voxelSize
unsafe int * __ref_storage_reduceAngleNumIters
unsafe bool * __ref_storage_decimate
unsafe float * __ref_storage_tinyEdgeLength
unsafe MR.UndirectedEdgeBitSet._Underlying ** __ptr_storage_sharpEdges

Properties

unsafe float voxelSize [get]
 The size of voxel that was used for mesh creation, must be set.
unsafe int reduceAngleNumIters [get]
 the number of iterations to minimize summed deviation of triangle-triangle angles from plane; this mode highlights sharp edges; if decimation is on, this mode is performed before and after decimation and further reduces the number of triangles
unsafe bool decimate [get]
 whether to decimate resulting mesh
unsafe float tinyEdgeLength [get]
 only if decimate = true: edges not longer than this value will be collapsed even if it results in appearance of a triangle with high aspect ratio
unsafe MR.? UndirectedEdgeBitSet sharpEdges [get]
 sharp edges that are maintained during post-processing

Detailed Description

Generated from class MR.MeshFromVoxelsPostProcessingParams. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_MeshFromVoxelsPostProcessingParams() [1/4]

unsafe MR.Const_MeshFromVoxelsPostProcessingParams.Const_MeshFromVoxelsPostProcessingParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_MeshFromVoxelsPostProcessingParams() [2/4]

unsafe MR.Const_MeshFromVoxelsPostProcessingParams.Const_MeshFromVoxelsPostProcessingParams ( float voxelSize,
int reduceAngleNumIters,
bool decimate,
float tinyEdgeLength,
MR.UndirectedEdgeBitSet? sharpEdges )
inline

Constructs MR.MeshFromVoxelsPostProcessingParams elementwise.

◆ Const_MeshFromVoxelsPostProcessingParams() [3/4]

unsafe MR.Const_MeshFromVoxelsPostProcessingParams.Const_MeshFromVoxelsPostProcessingParams ( MR.Const_MeshFromVoxelsPostProcessingParams _other)
inline

◆ Const_MeshFromVoxelsPostProcessingParams() [4/4]

MR.Const_MeshFromVoxelsPostProcessingParams.Const_MeshFromVoxelsPostProcessingParams ( MeshFromVoxelsPostProcessingParams _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_MeshFromVoxelsPostProcessingParams.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

Member Data Documentation

◆ __ptr_storage_sharpEdges

unsafe MR.UndirectedEdgeBitSet._Underlying** MR.Const_MeshFromVoxelsPostProcessingParams.__ptr_storage_sharpEdges
protected

◆ __ref_storage_decimate

unsafe bool* MR.Const_MeshFromVoxelsPostProcessingParams.__ref_storage_decimate
protected

◆ __ref_storage_reduceAngleNumIters

unsafe int* MR.Const_MeshFromVoxelsPostProcessingParams.__ref_storage_reduceAngleNumIters
protected

◆ __ref_storage_tinyEdgeLength

unsafe float* MR.Const_MeshFromVoxelsPostProcessingParams.__ref_storage_tinyEdgeLength
protected

◆ __ref_storage_voxelSize

unsafe float* MR.Const_MeshFromVoxelsPostProcessingParams.__ref_storage_voxelSize
protected

Property Documentation

◆ decimate

unsafe bool MR.Const_MeshFromVoxelsPostProcessingParams.decimate
get

whether to decimate resulting mesh

◆ reduceAngleNumIters

unsafe int MR.Const_MeshFromVoxelsPostProcessingParams.reduceAngleNumIters
get

the number of iterations to minimize summed deviation of triangle-triangle angles from plane; this mode highlights sharp edges; if decimation is on, this mode is performed before and after decimation and further reduces the number of triangles

◆ sharpEdges

unsafe MR.? UndirectedEdgeBitSet MR.Const_MeshFromVoxelsPostProcessingParams.sharpEdges
get

sharp edges that are maintained during post-processing

◆ tinyEdgeLength

unsafe float MR.Const_MeshFromVoxelsPostProcessingParams.tinyEdgeLength
get

only if decimate = true: edges not longer than this value will be collapsed even if it results in appearance of a triangle with high aspect ratio

◆ voxelSize

unsafe float MR.Const_MeshFromVoxelsPostProcessingParams.voxelSize
get

The size of voxel that was used for mesh creation, must be set.


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