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

parameters of OpenVDB Grid to Mesh conversion using Dual Marching Cubes algorithm Generated from class MR.GridToMeshSettings. This is the non-const half of the class. More...

+ Inheritance diagram for MR.GridToMeshSettings:

Public Member Functions

unsafe GridToMeshSettings ()
 Constructs an empty (default-constructed) instance.
 
unsafe GridToMeshSettings (MR.Vector3f voxelSize, float isoValue, float adaptivity, int maxFaces, int maxVertices, bool relaxDisorientedTriangles, MR.Std._ByValue_Function_BoolFuncFromFloat cb)
 Constructs MR.GridToMeshSettings elementwise.
 
unsafe GridToMeshSettings (MR._ByValue_GridToMeshSettings _other)
 Generated from constructor MR.GridToMeshSettings.GridToMeshSettings.
 
 GridToMeshSettings (Const_GridToMeshSettings _other)
 Generated from constructor MR.GridToMeshSettings.GridToMeshSettings.
 
 GridToMeshSettings (GridToMeshSettings _other)
 Generated from constructor MR.GridToMeshSettings.GridToMeshSettings.
 
unsafe MR.GridToMeshSettings assign (MR._ByValue_GridToMeshSettings _other)
 Generated from method MR.GridToMeshSettings.operator=.
 

Properties

new unsafe ref MR.Vector3f voxelSize [get]
 the size of each voxel in the grid
 
new unsafe ref float isoValue [get]
 layer of grid with this value would be converted in mesh; isoValue can be negative only in level set grids
 
new unsafe ref float adaptivity [get]
 adaptivity - [0.0;1.0] ratio of combining small triangles into bigger ones (curvature can be lost on high values)
 
new unsafe ref int maxFaces [get]
 if the mesh exceeds this number of faces, an error returns
 
new unsafe ref int maxVertices [get]
 if the mesh exceeds this number of vertices, an error returns
 
new unsafe ref bool relaxDisorientedTriangles [get]
 
new unsafe MR.Std.Function_BoolFuncFromFloat cb [get, protected set]
 to receive progress and request cancellation
 

Detailed Description

parameters of OpenVDB Grid to Mesh conversion using Dual Marching Cubes algorithm Generated from class MR.GridToMeshSettings. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ GridToMeshSettings() [1/5]

unsafe MR.GridToMeshSettings.GridToMeshSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ GridToMeshSettings() [2/5]

unsafe MR.GridToMeshSettings.GridToMeshSettings ( MR.Vector3f voxelSize,
float isoValue,
float adaptivity,
int maxFaces,
int maxVertices,
bool relaxDisorientedTriangles,
MR.Std._ByValue_Function_BoolFuncFromFloat cb )
inline

Constructs MR.GridToMeshSettings elementwise.

◆ GridToMeshSettings() [3/5]

unsafe MR.GridToMeshSettings.GridToMeshSettings ( MR._ByValue_GridToMeshSettings _other)
inline

Generated from constructor MR.GridToMeshSettings.GridToMeshSettings.

◆ GridToMeshSettings() [4/5]

MR.GridToMeshSettings.GridToMeshSettings ( Const_GridToMeshSettings _other)
inline

Generated from constructor MR.GridToMeshSettings.GridToMeshSettings.

◆ GridToMeshSettings() [5/5]

MR.GridToMeshSettings.GridToMeshSettings ( GridToMeshSettings _other)
inline

Generated from constructor MR.GridToMeshSettings.GridToMeshSettings.

Member Function Documentation

◆ assign()

unsafe MR.GridToMeshSettings MR.GridToMeshSettings.assign ( MR._ByValue_GridToMeshSettings _other)
inline

Generated from method MR.GridToMeshSettings.operator=.

Property Documentation

◆ adaptivity

new unsafe ref float MR.GridToMeshSettings.adaptivity
get

adaptivity - [0.0;1.0] ratio of combining small triangles into bigger ones (curvature can be lost on high values)

◆ cb

new unsafe MR.Std.Function_BoolFuncFromFloat MR.GridToMeshSettings.cb
getprotected set

to receive progress and request cancellation

◆ isoValue

new unsafe ref float MR.GridToMeshSettings.isoValue
get

layer of grid with this value would be converted in mesh; isoValue can be negative only in level set grids

◆ maxFaces

new unsafe ref int MR.GridToMeshSettings.maxFaces
get

if the mesh exceeds this number of faces, an error returns

◆ maxVertices

new unsafe ref int MR.GridToMeshSettings.maxVertices
get

if the mesh exceeds this number of vertices, an error returns

◆ relaxDisorientedTriangles

new unsafe ref bool MR.GridToMeshSettings.relaxDisorientedTriangles
get

◆ voxelSize

new unsafe ref MR.Vector3f MR.GridToMeshSettings.voxelSize
get

the size of each voxel in the grid


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