Classes | |
| struct | MR::VoxelsLoad::RawParameters |
| struct | MR::VoxelsLoad::LoadingTiffSettings |
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 ¶ms, const ProgressCallback &cb={}) |
| Load raw voxels from file with provided parameters. | |
| Expected< VdbVolume > | MR::VoxelsLoad::fromRaw (std::istream &in, const RawParameters ¶ms, const ProgressCallback &cb={}) |
| Expected< FloatGrid > | MR::VoxelsLoad::gridFromRaw (const std::filesystem::path &file, const RawParameters ¶ms, const ProgressCallback &cb={}) |
| Load raw voxels from file with provided parameters. | |
| Expected< FloatGrid > | MR::VoxelsLoad::gridFromRaw (std::istream &in, const RawParameters ¶ms, const ProgressCallback &cb={}) |
| Expected< RawParameters > | MR::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< FloatGrid > | MR::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. | |
Variables | |
| Vector3i | MR::VoxelsLoad::RawParameters::dimensions |
| Vector3f | MR::VoxelsLoad::RawParameters::voxelSize |
| bool | MR::VoxelsLoad::RawParameters::gridLevelSet { false } |
| OpenVDB GridClass set as GRID_LEVEL_SET (need to set right surface normals direction) | |
| ScalarType | MR::VoxelsLoad::RawParameters::scalarType { ScalarType::Float32 } |
| std::filesystem::path | MR::VoxelsLoad::LoadingTiffSettings::dir |
| Vector3f | MR::VoxelsLoad::LoadingTiffSettings::voxelSize = { 1.0f, 1.0f, 1.0f } |
| GridType | MR::VoxelsLoad::LoadingTiffSettings::gridType = GridType::DenseGrid |
| ProgressCallback | MR::VoxelsLoad::LoadingTiffSettings::cb = {} |
| using MR::VoxelsLoad::VoxelsLoader = Expected<std::vector<VdbVolume>>( * )( const std::filesystem::path&, const ProgressCallback& ) |
#include <MRVoxels/MRVoxelsLoad.h>
MRVOXELS_NO_TIFF.
|
strong |
#include <MRVoxels/MRVoxelsLoad.h>
Determines iso-surface orientation.
| Enumerator | |
|---|---|
| DenseGrid | consider values less than iso as outer area |
| LevelSet | consider values less than iso as inner area |
| Expected< RawParameters > MR::VoxelsLoad::findRawParameters | ( | std::filesystem::path & | file | ) |
#include <MRVoxels/MRVoxelsLoad.h>
finds raw voxels file and its encoding parameters
| file | on input: file name probably without suffix with parameters on output: if success existing file name |
| Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromAnySupportedFormat | ( | const std::filesystem::path & | file, |
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Detects the format from file extension and loads voxels from it.
| Expected< VdbVolume > MR::VoxelsLoad::fromGav | ( | const std::filesystem::path & | file, |
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load voxel from Gav-file with micro CT reconstruction.
| Expected< VdbVolume > MR::VoxelsLoad::fromGav | ( | std::istream & | in, |
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load voxel from Gav-stream with micro CT reconstruction.
| Expected< VdbVolume > MR::VoxelsLoad::fromRaw | ( | const std::filesystem::path & | file, |
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load raw voxels file, parsing parameters from name.
| Expected< VdbVolume > MR::VoxelsLoad::fromRaw | ( | const std::filesystem::path & | file, |
| const RawParameters & | params, | ||
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load raw voxels from file with provided parameters.
| Expected< VdbVolume > MR::VoxelsLoad::fromRaw | ( | std::istream & | in, |
| const RawParameters & | params, | ||
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load raw voxels from stream with provided parameters; important on Windows: in stream must be open in binary mode
| Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromVdb | ( | const std::filesystem::path & | file, |
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load all voxel volumes from OpenVDB file.
| Expected< FloatGrid > MR::VoxelsLoad::gridFromRaw | ( | const std::filesystem::path & | file, |
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load raw voxels file, parsing parameters from name.
| Expected< FloatGrid > MR::VoxelsLoad::gridFromRaw | ( | const std::filesystem::path & | file, |
| const RawParameters & | params, | ||
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load raw voxels from file with provided parameters.
| Expected< FloatGrid > MR::VoxelsLoad::gridFromRaw | ( | std::istream & | in, |
| const RawParameters & | params, | ||
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load raw voxels from stream with provided parameters; important on Windows: in stream must be open in binary mode
| Expected< std::vector< FloatGrid > > MR::VoxelsLoad::gridsFromAnySupportedFormat | ( | const std::filesystem::path & | file, |
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
Detects the format from file extension and loads voxels from it.
| Expected< std::vector< FloatGrid > > MR::VoxelsLoad::gridsFromVdb | ( | const std::filesystem::path & | file, |
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
| Expected< std::vector< FloatGrid > > MR::VoxelsLoad::gridsFromVdb | ( | std::istream & | in, |
| const ProgressCallback & | cb = {} ) |
#include <MRVoxels/MRVoxelsLoad.h>
| Expected< VdbVolume > MR::VoxelsLoad::loadTiffDir | ( | const LoadingTiffSettings & | settings | ) |
#include <MRVoxels/MRVoxelsLoad.h>
Load voxels from a set of TIFF files.
| ProgressCallback MR::VoxelsLoad::LoadingTiffSettings::cb = {} |
| Vector3i MR::VoxelsLoad::RawParameters::dimensions |
| std::filesystem::path MR::VoxelsLoad::LoadingTiffSettings::dir |
| bool MR::VoxelsLoad::RawParameters::gridLevelSet { false } |
OpenVDB GridClass set as GRID_LEVEL_SET (need to set right surface normals direction)
| GridType MR::VoxelsLoad::LoadingTiffSettings::gridType = GridType::DenseGrid |
| ScalarType MR::VoxelsLoad::RawParameters::scalarType { ScalarType::Float32 } |
| Vector3f MR::VoxelsLoad::LoadingTiffSettings::voxelSize = { 1.0f, 1.0f, 1.0f } |
| Vector3f MR::VoxelsLoad::RawParameters::voxelSize |