MeshLib
 
Loading...
Searching...
No Matches
MRVoxelsLoad.h File Reference
#include "MRMeshFwd.h"
#include "MRProgressCallback.h"
#include "MRObject.h"
#include "MRVoxelsVolume.h"
#include "MRIOFilters.h"
#include <filesystem>
#include "MRExpected.h"

Go to the source code of this file.

Classes

struct  MR::VoxelsLoad::DicomVolume
 
struct  MR::VoxelsLoad::LoadDCMResult
 
struct  MR::VoxelsLoad::RawParameters
 
struct  MR::VoxelsLoad::LoadingTiffSettings
 

Namespaces

namespace  MR
 
namespace  MR::VoxelsLoad
 

Enumerations

enum class  MR::VoxelsLoad::GridType { MR::VoxelsLoad::DenseGrid = 0 , MR::VoxelsLoad::LevelSet = 1 }
 

Functions

MRMESH_API void MR::VoxelsLoad::sortFilesByName (std::vector< std::filesystem::path > &scans)
 
MRMESH_API std::vector< Expected< LoadDCMResult > > MR::VoxelsLoad::loadDCMsFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads 3D all volumetric data from DICOM files in a folder.
 
MRMESH_API Expected< LoadDCMResultMR::VoxelsLoad::loadDCMFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads 3D first volumetric data from DICOM files in a folder.
 
MRMESH_API std::vector< Expected< DicomVolume > > MR::VoxelsLoad::loadDicomsFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads 3D all volumetric data from DICOM files in a folder.
 
MRMESH_API Expected< DicomVolumeMR::VoxelsLoad::loadDicomFolder (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads 3D first volumetric data from DICOM files in a folder.
 
MRMESH_API std::vector< Expected< LoadDCMResult > > MR::VoxelsLoad::loadDCMFolderTree (const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
 Loads every subfolder with DICOM volume as new object.
 
MRMESH_API Expected< DicomVolumeMR::VoxelsLoad::loadDicomFile (const std::filesystem::path &path, const ProgressCallback &cb={})
 Loads 3D volumetric data from a single DICOM file.
 
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw (const std::filesystem::path &file, const RawParameters &params, const ProgressCallback &cb={})
 Load raw voxels from file with provided parameters.
 
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw (std::istream &in, const RawParameters &params, const ProgressCallback &cb={})
 
MRMESH_API Expected< RawParametersMR::VoxelsLoad::findRawParameters (std::filesystem::path &file)
 
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load raw voxels file, parsing parameters from name.
 
MRMESH_API Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromVdb (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load all voxel volumes from OpenVDB file.
 
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromGav (const std::filesystem::path &file, const ProgressCallback &cb={})
 Load voxel from Gav-file with micro CT reconstruction.
 
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::fromGav (std::istream &in, const ProgressCallback &cb={})
 Load voxel from Gav-stream with micro CT reconstruction.
 
MRMESH_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.
 
MRMESH_API Expected< VdbVolume > MR::VoxelsLoad::loadTiffDir (const LoadingTiffSettings &settings)
 Load voxels from a set of TIFF files.
 

Variables

MRMESH_API const IOFilters MR::VoxelsLoad::Filters