MeshLib C++ Docs
Loading...
Searching...
No Matches
MRVoxelsLoad.h File Reference
#include "MRVoxelsFwd.h"
#include "MRVector.h"

Go to the source code of this file.

Typedefs

typedef typedefMR_EXTERN_C_BEGIN struct MRVdbVolumes MRVdbVolumes
 

Functions

MRMESHC_API const MRVdbVolume mrVdbVolumesGet (const MRVdbVolumes *volumes, size_t index)
 gets the volumes' value at index
 
MRMESHC_API size_t mrVdbVolumesSize (const MRVdbVolumes *volumes)
 gets the volumes' size
 
MRMESHC_API void mrVdbVolumesFree (MRVdbVolumes *volumes)
 deallocates the VdbVolumes object
 
MRMESHC_API MRVdbVolumesmrVoxelsLoadFromAnySupportedFormat (const char *file, MRProgressCallback cb, MRString **errorStr)
 Detects the format from file extension and loads voxels from it.
 

Typedef Documentation

◆ MRVdbVolumes

typedef typedefMR_EXTERN_C_BEGIN struct MRVdbVolumes MRVdbVolumes

Function Documentation

◆ mrVdbVolumesFree()

MRMESHC_API void mrVdbVolumesFree ( MRVdbVolumes * volumes)

deallocates the VdbVolumes object

◆ mrVdbVolumesGet()

MRMESHC_API const MRVdbVolume mrVdbVolumesGet ( const MRVdbVolumes * volumes,
size_t index )

gets the volumes' value at index

◆ mrVdbVolumesSize()

MRMESHC_API size_t mrVdbVolumesSize ( const MRVdbVolumes * volumes)

gets the volumes' size

◆ mrVoxelsLoadFromAnySupportedFormat()

MRMESHC_API MRVdbVolumes * mrVoxelsLoadFromAnySupportedFormat ( const char * file,
MRProgressCallback cb,
MRString ** errorStr )

Detects the format from file extension and loads voxels from it.