Classes | |
struct | MR::VoxelsLoad::RawParameters |
Functions | |
MRVOXELS_API Expected< VdbVolume > | MR::VoxelsLoad::fromRaw (const std::filesystem::path &file, const RawParameters ¶ms, const ProgressCallback &cb={}) |
Load raw voxels from file with provided parameters. | |
MRVOXELS_API Expected< VdbVolume > | MR::VoxelsLoad::fromRaw (std::istream &in, const RawParameters ¶ms, const ProgressCallback &cb={}) |
MRVOXELS_API Expected< RawParameters > | MR::VoxelsLoad::findRawParameters (std::filesystem::path &file) |
MRVOXELS_API Expected< VdbVolume > | MR::VoxelsLoad::fromRaw (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< VdbVolume > | MR::VoxelsLoad::fromGav (const std::filesystem::path &file, const ProgressCallback &cb={}) |
Load voxel from Gav-file with micro CT reconstruction. | |
MRVOXELS_API Expected< VdbVolume > | MR::VoxelsLoad::fromGav (std::istream &in, const ProgressCallback &cb={}) |
Load voxel from Gav-stream with micro CT reconstruction. | |
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< RawParameters > MR::VoxelsLoad::findRawParameters | ( | std::filesystem::path & | file | ) |
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 |
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< VdbVolume > MR::VoxelsLoad::fromGav | ( | const std::filesystem::path & | file, |
const ProgressCallback & | cb = {} ) |
Load voxel from Gav-file with micro CT reconstruction.
MRVOXELS_API Expected< VdbVolume > MR::VoxelsLoad::fromGav | ( | std::istream & | in, |
const ProgressCallback & | cb = {} ) |
Load voxel from Gav-stream with micro CT reconstruction.
MRVOXELS_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw | ( | const std::filesystem::path & | file, |
const ProgressCallback & | cb = {} ) |
Load raw voxels file, parsing parameters from name.
MRVOXELS_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.
MRVOXELS_API Expected< VdbVolume > MR::VoxelsLoad::fromRaw | ( | std::istream & | in, |
const RawParameters & | params, | ||
const ProgressCallback & | cb = {} ) |
Load raw voxels from stream with provided parameters; important on Windows: in stream must be open in binary mode
MRVOXELS_API Expected< std::vector< VdbVolume > > MR::VoxelsLoad::fromVdb | ( | const std::filesystem::path & | file, |
const ProgressCallback & | cb = {} ) |
Load all voxel volumes from OpenVDB file.