26#ifndef MRMESH_NO_OPENVDB
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:589
MRMESH_API size_t heapBytes(const FloatGrid &grid)
returns the amount of heap memory occupied by grid
Definition MRCameraOrientationPlugin.h:7
MRMESH_API Expected< SimpleVolume > functionVolumeToSimpleVolume(const FunctionVolume &volume, const ProgressCallback &callback={})
converts function volume into simple volume
std::shared_ptr< OpenVdbFloatGrid > FloatGrid
Definition MRMesh/MRMeshFwd.h:537
tl::expected< T, E > Expected
Definition MRExpected.h:49
float ValueType
Definition MRVoxelsVolume.h:30
T ValueType
Definition MRVoxelsVolume.h:23
Definition MRVoxelsVolume.h:12
Definition MRVoxelsVolume.h:51
ValueType max
Definition MRVoxelsVolume.h:59
ValueType min
Definition MRVoxelsVolume.h:58
represents a box in 3D space subdivided on voxels stored in T
Definition MRVoxelsVolume.h:37
Vector3f voxelSize
Definition MRVoxelsVolume.h:42
size_t heapBytes() const
Definition MRVoxelsVolume.h:44
T data
Definition MRVoxelsVolume.h:40
Vector3i dims
Definition MRVoxelsVolume.h:41
typename VoxelTraits< T >::ValueType ValueType
Definition MRVoxelsVolume.h:38