MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::GridToMeshSettings Struct Reference

parameters of OpenVDB Grid to Mesh conversion using Dual Marching Cubes algorithm More...

#include <MRVDBConversions.h>

Public Attributes

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

Detailed Description

parameters of OpenVDB Grid to Mesh conversion using Dual Marching Cubes algorithm


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