MeshLib
 
Loading...
Searching...
No Matches
MRObjectSave.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRExpected.h"
5
6#include <filesystem>
7
9{
10
13MRMESH_API Expected<void> toAnySupportedSceneFormat( const Object& object, const std::filesystem::path& file,
14 ProgressCallback callback = {} );
15
19MRMESH_API Expected<void> toAnySupportedFormat( const Object& object, const std::filesystem::path& file,
20 ProgressCallback callback = {} );
21
22} // namespace MR::ObjectSave
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
named object in the data model
Definition MRObject.h:60
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:589
Definition MRObjectSave.h:9
MRMESH_API Expected< void > toAnySupportedFormat(const Object &object, const std::filesystem::path &file, ProgressCallback callback={})
MRMESH_API Expected< void > toAnySupportedSceneFormat(const Object &object, const std::filesystem::path &file, ProgressCallback callback={})
tl::expected< T, E > Expected
Definition MRExpected.h:49