24 bool returnOnlyMesh = false );
60 const FolderCallback& postDecompress = {},
61 const ProgressCallback& progressCb = {} );
72 const ProgressCallback& progressCb = {} );
#define MRMESH_API
Definition MRMeshFwd.h:80
MRMESH_API Expected< LoadedObjects > loadObjectFromFile(const std::filesystem::path &filename, const ProgressCallback &callback={})
load all objects (or any type: mesh, lines, points, voxels or scene) from file
MRMESH_API Expected< LoadedObjectMesh > makeObjectMeshFromFile(const std::filesystem::path &file, const ProgressCallback &cb={})
loads mesh from given file in new object
MRMESH_API Expected< LoadedObject > makeObjectFromMeshFile(const std::filesystem::path &file, const ProgressCallback &cb={}, bool returnOnlyMesh=false)
loads data from given file and makes either ObjectMesh, ObjectLines or ObjectPoints (if the file has ...
MRMESH_API Expected< ObjectLines > makeObjectLinesFromFile(const std::filesystem::path &file, ProgressCallback callback={})
loads lines from given file in new object
MRMESH_API Expected< LoadedObject > deserializeObjectTree(const std::filesystem::path &path, const FolderCallback &postDecompress={}, const ProgressCallback &progressCb={})
loads objects tree from given scene file (zip/mru)
MRMESH_API Expected< ObjectDistanceMap > makeObjectDistanceMapFromFile(const std::filesystem::path &file, ProgressCallback callback={})
loads distance map from given file in new object
MRMESH_API Expected< LoadedObject > loadSceneFromAnySupportedFormat(const std::filesystem::path &path, const ProgressCallback &callback={})
MRMESH_API Expected< ObjectGcode > makeObjectGcodeFromFile(const std::filesystem::path &file, ProgressCallback callback={})
loads gcode from given file in new object
MRMESH_API bool isSupportedFileInSubfolders(const std::filesystem::path &folder)
MRMESH_API IOFilters getAllFilters()
returns filters for all supported file formats for all types of objects
MRMESH_API Expected< ObjectPoints > makeObjectPointsFromFile(const std::filesystem::path &file, ProgressCallback callback={})
loads points from given file in new object
MRMESH_API Expected< LoadedObject > deserializeObjectTreeFromFolder(const std::filesystem::path &folder, const ProgressCallback &progressCb={})
loads objects tree from given scene folder
Definition MRCameraOrientationPlugin.h:8