MeshLib C++ Docs
Loading...
Searching...
No Matches
MRGridToMeshSettings Struct Reference

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

#include <MRVDBConversions.h>

Public Attributes

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

Detailed Description

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

Member Data Documentation

◆ adaptivity

float MRGridToMeshSettings::adaptivity

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

◆ cb

MRProgressCallback MRGridToMeshSettings::cb

to receive progress and request cancellation

◆ isoValue

float MRGridToMeshSettings::isoValue

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

◆ maxFaces

int MRGridToMeshSettings::maxFaces

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

◆ maxVertices

int MRGridToMeshSettings::maxVertices

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

◆ relaxDisorientedTriangles

bool MRGridToMeshSettings::relaxDisorientedTriangles

◆ voxelSize

MRVector3f MRGridToMeshSettings::voxelSize

the size of each voxel in the grid


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