#define MRVOXELS_API
Definition MRVoxelsFwd.h:13
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
size_t heapBytes(const std::vector< T > &vec)
returns the amount of memory given vector occupies on heap
Definition MRHeapBytes.h:15
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:571
Definition MRCameraOrientationPlugin.h:8
std::shared_ptr< OpenVdbFloatGrid > FloatGrid
Definition MRVoxelsFwd.h:25
MRVOXELS_API Expected< SimpleVolumeMinMax > functionVolumeToSimpleVolume(const FunctionVolume &volume, const ProgressCallback &callback={})
converts function volume into simple volume
tl::expected< T, E > Expected
Definition MRExpected.h:58
float ValueType
Definition MRVoxelsVolume.h:32
T ValueType
Definition MRVoxelsVolume.h:26
Definition MRVoxelsVolume.h:15
Definition MRVoxelsVolume.h:52
ValueType max
Definition MRVoxelsVolume.h:60
ValueType min
Definition MRVoxelsVolume.h:59
represents a box in 3D space subdivided on voxels stored in T
Definition MRVoxelsVolume.h:38
Vector3f voxelSize
Definition MRVoxelsVolume.h:43
size_t heapBytes() const
Definition MRVoxelsVolume.h:45
T data
Definition MRVoxelsVolume.h:41
Vector3i dims
Definition MRVoxelsVolume.h:42
typename VoxelTraits< T >::ValueType ValueType
Definition MRVoxelsVolume.h:39