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 | |
parameters of OpenVDB Grid to Mesh conversion using Dual Marching Cubes algorithm
float MRGridToMeshSettings::adaptivity |
adaptivity - [0.0;1.0] ratio of combining small triangles into bigger ones (curvature can be lost on high values)
MRProgressCallback MRGridToMeshSettings::cb |
to receive progress and request cancellation
float MRGridToMeshSettings::isoValue |
layer of grid with this value would be converted in mesh; isoValue can be negative only in level set grids
int MRGridToMeshSettings::maxFaces |
if the mesh exceeds this number of faces, an error returns
int MRGridToMeshSettings::maxVertices |
if the mesh exceeds this number of vertices, an error returns
bool MRGridToMeshSettings::relaxDisorientedTriangles |
MRVector3f MRGridToMeshSettings::voxelSize |
the size of each voxel in the grid