MeshLib
 
Loading...
Searching...
No Matches
MR::VoxelsSave Namespace Reference

Classes

struct  SavingSettings
 

Functions

MRMESH_API VoidOrErrStr toRawAutoname (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={})
 Save raw voxels file, writing parameters in file name.
 
MRMESH_API VoidOrErrStr 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 toGav (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={})
 Save voxels in Gav-format in given file.
 
MRMESH_API VoidOrErrStr toGav (const VdbVolume &vdbVolume, std::ostream &out, ProgressCallback callback={})
 Save voxels in Gav-format in given binary stream.
 
MRMESH_API VoidOrErrStr toVdb (const VdbVolume &vdbVolume, const std::filesystem::path &file, ProgressCallback callback={})
 Save voxels file in OpenVDB format.
 
MRMESH_API VoidOrErrStr 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 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 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 Filters