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

Generated from class MR.SharpenMarchingCubesMeshSettings. This is the non-const half of the class. More...

Inheritance diagram for MR.SharpenMarchingCubesMeshSettings:

Public Member Functions

unsafe SharpenMarchingCubesMeshSettings ()
 Constructs an empty (default-constructed) instance.
unsafe SharpenMarchingCubesMeshSettings (float minNewVertDev, float maxNewRank2VertDev, float maxNewRank3VertDev, float offset, float maxOldVertPosCorrection, int posSelIters, bool voxelClamp, MR.Vector3i dims, MR.AffineXf3f gridToMeshXf, MR.UndirectedEdgeBitSet? outSharpEdges)
 Constructs MR.SharpenMarchingCubesMeshSettings elementwise.
unsafe SharpenMarchingCubesMeshSettings (MR.Const_SharpenMarchingCubesMeshSettings _other)
 Generated from constructor MR.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings.
 SharpenMarchingCubesMeshSettings (SharpenMarchingCubesMeshSettings _other)
 Generated from constructor MR.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings.
unsafe MR.SharpenMarchingCubesMeshSettings assign (MR.Const_SharpenMarchingCubesMeshSettings _other)
 Generated from method MR::SharpenMarchingCubesMeshSettings::operator=.
Public Member Functions inherited from MR.Const_SharpenMarchingCubesMeshSettings
virtual void Dispose ()
unsafe Const_SharpenMarchingCubesMeshSettings ()
 Constructs an empty (default-constructed) instance.
unsafe Const_SharpenMarchingCubesMeshSettings (float minNewVertDev, float maxNewRank2VertDev, float maxNewRank3VertDev, float offset, float maxOldVertPosCorrection, int posSelIters, bool voxelClamp, MR.Vector3i dims, MR.AffineXf3f gridToMeshXf, MR.UndirectedEdgeBitSet? outSharpEdges)
 Constructs MR.SharpenMarchingCubesMeshSettings elementwise.
unsafe Const_SharpenMarchingCubesMeshSettings (MR.Const_SharpenMarchingCubesMeshSettings _other)
 Generated from constructor MR.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings.
 Const_SharpenMarchingCubesMeshSettings (SharpenMarchingCubesMeshSettings _other)
 Generated from constructor MR.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings.

Properties

new unsafe ref float minNewVertDev [get]
 minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 )
new unsafe ref float maxNewRank2VertDev [get]
 maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size )
new unsafe ref float maxNewRank3VertDev [get]
 maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size )
new unsafe ref float offset [get]
 relative to reference mesh
new unsafe ref float maxOldVertPosCorrection [get]
 correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 )
new unsafe ref int posSelIters [get]
 the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0
new unsafe ref bool voxelClamp [get]
 if true, the displacement of a new vertex from the average point is shortened to keep the vertex within its voxel's box (so the geometry of a voxel can never reach another one), and the in-plane elevation check is skipped; requires dims and gridToMeshXf to be set
new unsafe ref MR.Vector3i dims [get]
 Marching Cubes volume dimensions.
new unsafe ref MR.AffineXf3f gridToMeshXf [get]
 transform from integer Marching Cubes grid locations to the mesh reference frame: the node with integer coordinates (i,j,k) is located in gridToMeshXf( Vector3f( i, j, k ) )
new unsafe MR.? UndirectedEdgeBitSet outSharpEdges [get, set]
 if non-null then created sharp edges will be saved here
Properties inherited from MR.Const_SharpenMarchingCubesMeshSettings
unsafe float minNewVertDev [get]
 minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 )
unsafe float maxNewRank2VertDev [get]
 maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size )
unsafe float maxNewRank3VertDev [get]
 maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size )
unsafe float offset [get]
 relative to reference mesh
unsafe float maxOldVertPosCorrection [get]
 correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 )
unsafe int posSelIters [get]
 the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0
unsafe bool voxelClamp [get]
 if true, the displacement of a new vertex from the average point is shortened to keep the vertex within its voxel's box (so the geometry of a voxel can never reach another one), and the in-plane elevation check is skipped; requires dims and gridToMeshXf to be set
unsafe ref readonly MR.Vector3i dims [get]
 Marching Cubes volume dimensions.
unsafe ref readonly MR.AffineXf3f gridToMeshXf [get]
 transform from integer Marching Cubes grid locations to the mesh reference frame: the node with integer coordinates (i,j,k) is located in gridToMeshXf( Vector3f( i, j, k ) )
unsafe MR.? UndirectedEdgeBitSet outSharpEdges [get]
 if non-null then created sharp edges will be saved here

Additional Inherited Members

Protected Member Functions inherited from MR.Const_SharpenMarchingCubesMeshSettings
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_SharpenMarchingCubesMeshSettings
unsafe float * __ref_storage_minNewVertDev
unsafe float * __ref_storage_maxNewRank2VertDev
unsafe float * __ref_storage_maxNewRank3VertDev
unsafe float * __ref_storage_offset
unsafe float * __ref_storage_maxOldVertPosCorrection
unsafe int * __ref_storage_posSelIters
unsafe bool * __ref_storage_voxelClamp
unsafe MR.Vector3i * __ref_storage_dims
unsafe MR.AffineXf3f * __ref_storage_gridToMeshXf
unsafe MR.UndirectedEdgeBitSet._Underlying ** __ptr_storage_outSharpEdges

Detailed Description

Generated from class MR.SharpenMarchingCubesMeshSettings. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ SharpenMarchingCubesMeshSettings() [1/4]

unsafe MR.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ SharpenMarchingCubesMeshSettings() [2/4]

unsafe MR.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings ( float minNewVertDev,
float maxNewRank2VertDev,
float maxNewRank3VertDev,
float offset,
float maxOldVertPosCorrection,
int posSelIters,
bool voxelClamp,
MR.Vector3i dims,
MR.AffineXf3f gridToMeshXf,
MR.UndirectedEdgeBitSet? outSharpEdges )
inline

Constructs MR.SharpenMarchingCubesMeshSettings elementwise.

◆ SharpenMarchingCubesMeshSettings() [3/4]

unsafe MR.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings ( MR.Const_SharpenMarchingCubesMeshSettings _other)
inline

◆ SharpenMarchingCubesMeshSettings() [4/4]

MR.SharpenMarchingCubesMeshSettings.SharpenMarchingCubesMeshSettings ( SharpenMarchingCubesMeshSettings _other)
inline

Member Function Documentation

◆ assign()

unsafe MR.SharpenMarchingCubesMeshSettings MR.SharpenMarchingCubesMeshSettings.assign ( MR.Const_SharpenMarchingCubesMeshSettings _other)
inline

Generated from method MR::SharpenMarchingCubesMeshSettings::operator=.

Property Documentation

◆ dims

new unsafe ref MR.Vector3i MR.SharpenMarchingCubesMeshSettings.dims
get

Marching Cubes volume dimensions.

◆ gridToMeshXf

new unsafe ref MR.AffineXf3f MR.SharpenMarchingCubesMeshSettings.gridToMeshXf
get

transform from integer Marching Cubes grid locations to the mesh reference frame: the node with integer coordinates (i,j,k) is located in gridToMeshXf( Vector3f( i, j, k ) )

◆ maxNewRank2VertDev

new unsafe ref float MR.SharpenMarchingCubesMeshSettings.maxNewRank2VertDev
get

maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size )

◆ maxNewRank3VertDev

new unsafe ref float MR.SharpenMarchingCubesMeshSettings.maxNewRank3VertDev
get

maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size )

◆ maxOldVertPosCorrection

new unsafe ref float MR.SharpenMarchingCubesMeshSettings.maxOldVertPosCorrection
get

correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 )

◆ minNewVertDev

new unsafe ref float MR.SharpenMarchingCubesMeshSettings.minNewVertDev
get

minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 )

◆ offset

new unsafe ref float MR.SharpenMarchingCubesMeshSettings.offset
get

relative to reference mesh

◆ outSharpEdges

new unsafe MR.? UndirectedEdgeBitSet MR.SharpenMarchingCubesMeshSettings.outSharpEdges
getset

if non-null then created sharp edges will be saved here

◆ posSelIters

new unsafe ref int MR.SharpenMarchingCubesMeshSettings.posSelIters
get

the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0

◆ voxelClamp

new unsafe ref bool MR.SharpenMarchingCubesMeshSettings.voxelClamp
get

if true, the displacement of a new vertex from the average point is shortened to keep the vertex within its voxel's box (so the geometry of a voxel can never reach another one), and the in-plane elevation check is skipped; requires dims and gridToMeshXf to be set


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