MeshLib C++ Docs
Loading...
Searching...
No Matches
MRVoxelsLoad.h File Reference
#include "MRVoxelsFwd.h"
#include "MRScalarConvert.h"
#include "MRVoxelsVolume.h"
#include "MRMesh/MRIOFormatsRegistry.h"
#include "MRMesh/MRObject.h"
#include <MRMesh/MRLoadedObjects.h>
#include <filesystem>

Go to the source code of this file.

Classes

class  MR::VoxelsLoad::RawParameters
 
class  MR::VoxelsLoad::LoadingTiffSettings
 

Namespaces

namespace  MR
 
namespace  MR::VoxelsLoad
 

Functions

MRVOXELS_API Expected< VdbVolumeMR::VoxelsLoad::fromRaw (const std::filesystem::path &file, const RawParameters &params, const ProgressCallback &cb={})
 Load raw voxels from file with provided parameters.
 
MRVOXELS_API Expected< VdbVolumeMR::VoxelsLoad::fromRaw (std::istream &in, const RawParameters &params, const ProgressCallback &cb={})
 
MRVOXELS_API Expected< FloatGridMR::VoxelsLoad::gridFromRaw (const std::filesystem::path &file, const RawParameters &params, const ProgressCallback &cb={})
 Load raw voxels from file with provided parameters.
 
MRVOXELS_API Expected< FloatGridMR::VoxelsLoad::gridFromRaw (std::istream &in, const RawParameters &params, const ProgressCallback &cb={})
 
MRVOXELS_API Expected< RawParametersMR::VoxelsLoad::findRawParameters (std::filesystem::path &file)
 
MRVOXELS_API Expected< VdbVolumeMR::VoxelsLoad::fromRaw (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load raw voxels file, parsing parameters from name.
 
MRVOXELS_API Expected< FloatGridMR::VoxelsLoad::gridFromRaw (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load raw voxels file, parsing parameters from name.
 
MRVOXELS_API Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromVdb (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load all voxel volumes from OpenVDB file.
 
MRVOXELS_API Expected< std::vector< FloatGrid > > MR::VoxelsLoad::gridsFromVdb (const std::filesystem::path &file, const ProgressCallback &cb={})
 
MRVOXELS_API Expected< std::vector< FloatGrid > > MR::VoxelsLoad::gridsFromVdb (std::istream &in, const ProgressCallback &cb={})
 
MRVOXELS_API Expected< VdbVolumeMR::VoxelsLoad::fromGav (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load voxel from Gav-file with micro CT reconstruction.
 
MRVOXELS_API Expected< VdbVolumeMR::VoxelsLoad::fromGav (std::istream &in, const ProgressCallback &cb={})
 Load voxel from Gav-stream with micro CT reconstruction.
 
MRVOXELS_API Expected< std::vector< FloatGrid > > MR::VoxelsLoad::gridsFromAnySupportedFormat (const std::filesystem::path &file, const ProgressCallback &cb={})
 Detects the format from file extension and loads voxels from it.
 
MRVOXELS_API Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromAnySupportedFormat (const std::filesystem::path &file, const ProgressCallback &cb={})
 Detects the format from file extension and loads voxels from it.
 
MRVOXELS_API Expected< VdbVolumeMR::VoxelsLoad::loadTiffDir (const LoadingTiffSettings &settings)
 Load voxels from a set of TIFF files.
 
MRVOXELS_API Expected< std::vector< std::shared_ptr< ObjectVoxels > > > MR::makeObjectVoxelsFromFile (const std::filesystem::path &file, ProgressCallback callback={})
 loads voxels from given file in new object
 
MRVOXELS_API Expected< LoadedObjectsMR::makeObjectFromVoxelsFile (const std::filesystem::path &file, const ProgressCallback &callback={})