MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ObjectSave Namespace Reference

Classes

class  _ByValue_Settings
 
class  _InOptConst_Settings
 
class  _InOptMut_Settings
 
class  Const_Settings
 
class  Settings
 

Functions

MRMESH_API Expected< void > toAnySupportedSceneFormat (const Object &object, const std::filesystem::path &file, const Settings &settings={})
 
MRMESH_API Expected< void > toAnySupportedFormat (const Object &object, const std::filesystem::path &file, const Settings &settings={})
 

Function Documentation

◆ toAnySupportedFormat()

MRMESH_API Expected< void > MR::ObjectSave::toAnySupportedFormat ( const Object & object,
const std::filesystem::path & file,
const Settings & settings = {} )

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.)

◆ toAnySupportedSceneFormat()

MRMESH_API Expected< void > MR::ObjectSave::toAnySupportedSceneFormat ( const Object & object,
const std::filesystem::path & file,
const Settings & settings = {} )

save an object tree to a given file file format must be scene-capable