MeshLib JavaScript Docs
Loading...
Searching...
No Matches
GridToMeshSettings Class Reference

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

Public Member Functions

 GridToMeshSettings ()

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ GridToMeshSettings()

GridToMeshSettings::GridToMeshSettings ( )

Member Data Documentation

◆ adaptivity

number GridToMeshSettings::adaptivity

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

◆ isoValue

number GridToMeshSettings::isoValue

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

◆ maxFaces

number GridToMeshSettings::maxFaces

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

◆ maxVertices

number GridToMeshSettings::maxVertices

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

◆ relaxDisorientedTriangles

boolean GridToMeshSettings::relaxDisorientedTriangles

◆ voxelSize

Vector3f GridToMeshSettings::voxelSize

the size of each voxel in the grid


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