MeshLib
 
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

Member Data Documentation

◆ adaptivity

float MR::GridToMeshSettings::adaptivity = 0

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

◆ cb

ProgressCallback MR::GridToMeshSettings::cb

to receive progress and request cancellation

◆ isoValue

float MR::GridToMeshSettings::isoValue = 0

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

◆ maxFaces

int MR::GridToMeshSettings::maxFaces = INT_MAX

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

◆ maxVertices

int MR::GridToMeshSettings::maxVertices = INT_MAX

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

◆ relaxDisorientedTriangles

bool MR::GridToMeshSettings::relaxDisorientedTriangles = true

◆ voxelSize

Vector3f MR::GridToMeshSettings::voxelSize

the size of each voxel in the grid


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