MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMisonLoad.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#ifndef __EMSCRIPTEN__
4#include "MRExpected.h"
6#include "MRLoadedObjects.h"
7#include <filesystem>
8
9namespace MR
10{
11
18MRMESH_API Expected<LoadedObject> fromSceneMison( const std::filesystem::path& path, const ProgressCallback& callback = {} );
19MRMESH_API Expected<LoadedObject> fromSceneMison( std::istream& in, const ProgressCallback& callback = {} );
20
21} //namespace MR
22
23#endif
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:68
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:600
MRMESH_API Expected< LoadedObject > fromSceneMison(const std::filesystem::path &path, const ProgressCallback &callback={})
tl::expected< T, E > Expected
Definition MRExpected.h:58