#include <MRMarchingCubes.h>
Public Types | |
| enum class | CachingMode { CachingMode::Automatic , CachingMode::None , CachingMode::Normal } |
Public Attributes | |
| Vector3f | origin |
| origin point of voxels box in 3D space with output mesh | |
| ProgressCallback | cb |
| progress callback | |
| float | iso { 0.0f } |
| target iso-value of the surface to be extracted from volume | |
| bool | lessInside { false } |
| should be false for dense volumes, and true for distance volume | |
| Vector< VoxelId, FaceId > * | outVoxelPerFaceMap { nullptr } |
| optional output map FaceId->VoxelId | |
| VoxelPointPositioner | positioner = {} |
| int | maxVertices = INT_MAX |
| if the mesh exceeds this number of vertices, an error returns | |
| enum MR::MarchingCubesParams::CachingMode | cachingMode = CachingMode::Automatic |
| std::function< void()> | freeVolume |
| this optional function is called when volume is no longer needed to deallocate it and reduce peak memory consumption | |