22#ifndef MRMESH_NO_OPENVDB
27#if !defined(MRMESH_NO_DICOM)
128#ifndef MRMESH_NO_TIFF
131 std::filesystem::path
dir;
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:589
std::vector< IOFilter > IOFilters
Definition MRIOFilters.h:23
MRMESH_API std::vector< Expected< DicomVolume > > 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< std::vector< VdbVolume > > fromAnySupportedFormat(const std::filesystem::path &file, const ProgressCallback &cb={})
Detects the format from file extension and loads voxels from it.
MRMESH_API Expected< std::vector< VdbVolume > > fromVdb(const std::filesystem::path &file, const ProgressCallback &cb={})
Load all voxel volumes from OpenVDB file.
MRMESH_API Expected< VdbVolume > fromRaw(const std::filesystem::path &file, const RawParameters ¶ms, const ProgressCallback &cb={})
Load raw voxels from file with provided parameters.
MRMESH_API std::vector< Expected< LoadDCMResult > > 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< VdbVolume > fromGav(const std::filesystem::path &file, const ProgressCallback &cb={})
Load voxel from Gav-file with micro CT reconstruction.
MRMESH_API Expected< DicomVolume > 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 Expected< DicomVolume > loadDicomFile(const std::filesystem::path &path, const ProgressCallback &cb={})
Loads 3D volumetric data from a single DICOM file.
MRMESH_API Expected< LoadDCMResult > 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< LoadDCMResult > > loadDCMFolderTree(const std::filesystem::path &path, unsigned maxNumThreads=4, const ProgressCallback &cb={})
Loads every subfolder with DICOM volume as new object.
MRMESH_API void sortFilesByName(std::vector< std::filesystem::path > &scans)
MRMESH_API Expected< RawParameters > findRawParameters(std::filesystem::path &file)
MRMESH_API const IOFilters Filters
GridType
Definition MRVoxelsLoad.h:121
MRMESH_API Expected< VdbVolume > loadTiffDir(const LoadingTiffSettings &settings)
Load voxels from a set of TIFF files.
Definition MRCameraOrientationPlugin.h:7
tl::expected< T, E > Expected
Definition MRExpected.h:49
Definition MRVoxelsLoad.h:29
std::string name
Definition MRVoxelsLoad.h:31
AffineXf3f xf
Definition MRVoxelsLoad.h:32
SimpleVolume vol
Definition MRVoxelsLoad.h:30
Definition MRVoxelsLoad.h:36
std::string name
Definition MRVoxelsLoad.h:38
AffineXf3f xf
Definition MRVoxelsLoad.h:39
VdbVolume vdbVolume
Definition MRVoxelsLoad.h:37
Definition MRVoxelsLoad.h:130
GridType gridType
Definition MRVoxelsLoad.h:133
Vector3f voxelSize
Definition MRVoxelsLoad.h:132
std::filesystem::path dir
Definition MRVoxelsLoad.h:131
ProgressCallback cb
Definition MRVoxelsLoad.h:134
Definition MRVoxelsLoad.h:65
bool gridLevelSet
OpenVDB GridClass set as GRID_LEVEL_SET (need to set right surface normals direction)
Definition MRVoxelsLoad.h:68
enum MR::VoxelsLoad::RawParameters::ScalarType Float32
Vector3i dimensions
Definition MRVoxelsLoad.h:66
Vector3f voxelSize
Definition MRVoxelsLoad.h:67
ScalarType
Definition MRVoxelsLoad.h:70
@ Float32_4
the last value from float[4]