Classes | |
| struct | SavingSettings |
| stores together all data for save voxel object as a group of images More... | |
Typedefs | |
| using | VoxelsSaver = Expected<void>( * )( const VdbVolume&, const std::filesystem::path&, ProgressCallback ) |
Functions | |
| Expected< void > | toDicom (const VdbVolume &vdbVolume, const std::filesystem::path &path, ProgressCallback cb={}) |
| Save voxels object to a single 3d DICOM file. | |
| template<typename T> | |
| Expected< void > | toDicom (const VoxelsVolume< Vector< T, VoxelId > > &volume, const std::filesystem::path &path, const std::optional< MinMaxf > &sourceScale={}, const ProgressCallback &cb={}) |
| template Expected< void > | toDicom (const VoxelsVolume< Vector< std::uint16_t, VoxelId > > &volume, const std::filesystem::path &path, const std::optional< MinMaxf > &sourceScale, const ProgressCallback &cb) |
| Expected< void > | toRawAutoname (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
| Save raw voxels file, writing parameters in file name. | |
| Expected< void > | toRawAutoname (const SimpleVolume &simpleVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
| Expected< void > | gridToRawAutoname (const FloatGrid &grid, const Vector3i &dims, const std::filesystem::path &file, ProgressCallback callback={}) |
| Expected< void > | gridToRawFloat (const FloatGrid &grid, const Vector3i &dims, std::ostream &out, ProgressCallback callback={}) |
| Save voxels in raw format with each value as 32-bit float in given binary stream. | |
| Expected< void > | toRawFloat (const VdbVolume &vdbVolume, std::ostream &out, ProgressCallback callback={}) |
| Expected< void > | toRawFloat (const SimpleVolume &simpleVolume, std::ostream &out, ProgressCallback callback={}) |
| Expected< void > | toGav (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
| Save voxels in Gav-format in given destination. | |
| Expected< void > | toGav (const VdbVolume &vdbVolume, std::ostream &out, ProgressCallback callback={}) |
| Expected< void > | toGav (const SimpleVolumeMinMax &simpleVolumeMinMax, const std::filesystem::path &file, ProgressCallback callback={}) |
| Expected< void > | toGav (const SimpleVolumeMinMax &simpleVolumeMinMax, std::ostream &out, ProgressCallback callback={}) |
| Expected< void > | toGav (const SimpleVolume &simpleVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
| Expected< void > | toGav (const SimpleVolume &simpleVolume, std::ostream &out, ProgressCallback callback={}) |
| Expected< void > | gridToVdb (const FloatGrid &grid, const std::filesystem::path &file, ProgressCallback callback={}) |
| Save voxels file in OpenVDB format. | |
| Expected< void > | gridToVdb (const FloatGrid &grid, std::ostream &out, ProgressCallback callback={}) |
| Expected< void > | toVdb (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
| Expected< void > | gridToAnySupportedFormat (const FloatGrid &grid, const Vector3i &dims, const std::filesystem::path &file, ProgressCallback callback={}) |
| Saves voxels in a file, detecting the format from file extension. | |
| Expected< void > | toAnySupportedFormat (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={}) |
| Expected< void > | saveSliceToImage (const std::filesystem::path &path, const VdbVolume &vdbVolume, const SlicePlane &slicePlain, int sliceNumber, ProgressCallback callback={}) |
| save the slice by the active plane through the sliceNumber to an image file | |
| Expected< void > | saveAllSlicesToImage (const VdbVolume &vdbVolume, const SavingSettings &settings) |
| save all slices by the active plane through all voxel planes along the active axis to an image file | |
| using MR::VoxelsSave::VoxelsSaver = Expected<void>( * )( const VdbVolume&, const std::filesystem::path&, ProgressCallback ) |
| Expected< void > MR::VoxelsSave::gridToAnySupportedFormat | ( | const FloatGrid & | grid, |
| const Vector3i & | dims, | ||
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |
Saves voxels in a file, detecting the format from file extension.
| Expected< void > MR::VoxelsSave::gridToRawAutoname | ( | const FloatGrid & | grid, |
| const Vector3i & | dims, | ||
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::gridToRawFloat | ( | const FloatGrid & | grid, |
| const Vector3i & | dims, | ||
| std::ostream & | out, | ||
| ProgressCallback | callback = {} ) |
Save voxels in raw format with each value as 32-bit float in given binary stream.
| Expected< void > MR::VoxelsSave::gridToVdb | ( | const FloatGrid & | grid, |
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |
Save voxels file in OpenVDB format.
| Expected< void > MR::VoxelsSave::gridToVdb | ( | const FloatGrid & | grid, |
| std::ostream & | out, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::saveAllSlicesToImage | ( | const VdbVolume & | vdbVolume, |
| const SavingSettings & | settings ) |
save all slices by the active plane through all voxel planes along the active axis to an image file
| Expected< void > MR::VoxelsSave::saveSliceToImage | ( | const std::filesystem::path & | path, |
| const VdbVolume & | vdbVolume, | ||
| const SlicePlane & | slicePlain, | ||
| int | sliceNumber, | ||
| ProgressCallback | callback = {} ) |
save the slice by the active plane through the sliceNumber to an image file
| Expected< void > MR::VoxelsSave::toAnySupportedFormat | ( | const VdbVolume & | vdbVolume, |
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::toGav | ( | const SimpleVolume & | simpleVolume, |
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::toGav | ( | const SimpleVolume & | simpleVolume, |
| std::ostream & | out, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::toGav | ( | const SimpleVolumeMinMax & | simpleVolumeMinMax, |
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::toGav | ( | const SimpleVolumeMinMax & | simpleVolumeMinMax, |
| std::ostream & | out, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::toGav | ( | const VdbVolume & | vdbVolume, |
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |
Save voxels in Gav-format in given destination.
| Expected< void > MR::VoxelsSave::toGav | ( | const VdbVolume & | vdbVolume, |
| std::ostream & | out, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::toRawAutoname | ( | const SimpleVolume & | simpleVolume, |
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::toRawAutoname | ( | const VdbVolume & | vdbVolume, |
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |
Save raw voxels file, writing parameters in file name.
| Expected< void > MR::VoxelsSave::toRawFloat | ( | const SimpleVolume & | simpleVolume, |
| std::ostream & | out, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::toRawFloat | ( | const VdbVolume & | vdbVolume, |
| std::ostream & | out, | ||
| ProgressCallback | callback = {} ) |
| Expected< void > MR::VoxelsSave::toVdb | ( | const VdbVolume & | vdbVolume, |
| const std::filesystem::path & | file, | ||
| ProgressCallback | callback = {} ) |