Typedefs | |
using | ObjectSaver = Expected<void>( * )( const Object&, const std::filesystem::path&, const ProgressCallback& ) |
Functions | |
MRMESH_API Expected< void > | toAnySupportedSceneFormat (const Object &object, const std::filesystem::path &file, ProgressCallback callback={}) |
MRMESH_API Expected< void > | toAnySupportedFormat (const Object &object, const std::filesystem::path &file, ProgressCallback callback={}) |
using MR::ObjectSave::ObjectSaver = Expected<void>( * )( const Object&, const std::filesystem::path&, const ProgressCallback& ) |
MRMESH_API Expected< void > MR::ObjectSave::toAnySupportedFormat | ( | const Object & | object, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
save a scene object to a given file if the file format is scene-capable, saves all the object's entities otherwise, saves only merged entities of the corresponding type (mesh, polyline, point cloud, etc.)
MRMESH_API Expected< void > MR::ObjectSave::toAnySupportedSceneFormat | ( | const Object & | object, |
const std::filesystem::path & | file, | ||
ProgressCallback | callback = {} ) |
save an object tree to a given file file format must be scene-capable