MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshC/MRVoxelsLoad.h
Go to the documentation of this file.
1#pragma once
2#include "MRVoxelsFwd.h"
3#include "MRVector.h"
4
6
8
10MRMESHC_API const MRVdbVolume mrVdbVolumesGet( const MRVdbVolumes* volumes, size_t index );
11
13MRMESHC_API size_t mrVdbVolumesSize( const MRVdbVolumes* volumes );
14
17
20
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
bool(* MRProgressCallback)(float)
Definition MRMeshC/MRMeshFwd.h:54
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
typedefMR_EXTERN_C_BEGIN struct MRString MRString
Definition MRMeshC/MRMeshFwd.h:32
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
MRMESHC_API void mrVdbVolumesFree(MRVdbVolumes *volumes)
deallocates the VdbVolumes object
MRMESHC_API size_t mrVdbVolumesSize(const MRVdbVolumes *volumes)
gets the volumes' size
MRMESHC_API const MRVdbVolume mrVdbVolumesGet(const MRVdbVolumes *volumes, size_t index)
gets the volumes' value at index
MRMESHC_API MRVdbVolumes * mrVoxelsLoadFromAnySupportedFormat(const char *file, MRProgressCallback cb, MRString **errorStr)
Detects the format from file extension and loads voxels from it.
typedefMR_EXTERN_C_BEGIN struct MRVdbVolumes MRVdbVolumes
Definition MRMeshC/MRVoxelsLoad.h:7
Definition MRMeshC/MRVoxelsFwd.h:12