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

struct  MR::VoxelsLoad::RawParameters
struct  MR::VoxelsLoad::LoadingTiffSettings

Namespaces

namespace  MR
 only for bindings generation
namespace  MR::VoxelsLoad

Typedefs

using MR::VoxelsLoad::VoxelsLoader = Expected<std::vector<VdbVolume>>( * )( const std::filesystem::path&, const ProgressCallback& )
 MRVOXELS_NO_TIFF.

Enumerations

enum class  MR::VoxelsLoad::GridType { MR::VoxelsLoad::GridType::DenseGrid = 0 , MR::VoxelsLoad::GridType::LevelSet = 1 }
 Determines iso-surface orientation. More...

Functions

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