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

Go to the source code of this file.

Classes

struct  MR::VoxelsSave::SavingSettings
 

Namespaces

namespace  MR
 
namespace  MR::VoxelsSave
 

Functions

MRMESH_API VoidOrErrStr MR::VoxelsSave::toRawAutoname (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={})
 Save raw voxels file, writing parameters in file name.
 
MRMESH_API VoidOrErrStr MR::VoxelsSave::toRawFloat (const VdbVolume &vdbVolume, std::ostream &out, ProgressCallback callback={})
 Save voxels in raw format with each value as 32-bit float in given binary stream.
 
MRMESH_API VoidOrErrStr MR::VoxelsSave::toGav (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={})
 Save voxels in Gav-format in given file.
 
MRMESH_API VoidOrErrStr MR::VoxelsSave::toGav (const VdbVolume &vdbVolume, std::ostream &out, ProgressCallback callback={})
 Save voxels in Gav-format in given binary stream.
 
MRMESH_API VoidOrErrStr MR::VoxelsSave::toVdb (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={})
 Save voxels file in OpenVDB format.
 
MRMESH_API VoidOrErrStr MR::VoxelsSave::toAnySupportedFormat (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={})
 Saves voxels in a file, detecting the format from file extension.
 
MRMESH_API VoidOrErrStr 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
 
MRMESH_API VoidOrErrStr 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
 

Variables

MRMESH_API const IOFilters MR::VoxelsSave::Filters