|
| Expected< LoadedObjectMesh > | MR::makeObjectMeshFromFile (const std::filesystem::path &file, const ProgressCallback &cb={}) |
| | loads mesh from given file in new object
|
| Expected< LoadedObject > | MR::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 points or edges but not faces)
|
| Expected< ObjectLines > | MR::makeObjectLinesFromFile (const std::filesystem::path &file, ProgressCallback callback={}) |
| | loads lines from given file in new object
|
| Expected< ObjectPoints > | MR::makeObjectPointsFromFile (const std::filesystem::path &file, ProgressCallback callback={}) |
| | loads points from given file in new object
|
| Expected< ObjectDistanceMap > | MR::makeObjectDistanceMapFromFile (const std::filesystem::path &file, ProgressCallback callback={}) |
| | loads distance map from given file in new object
|
| Expected< ObjectGcode > | MR::makeObjectGcodeFromFile (const std::filesystem::path &file, ProgressCallback callback={}) |
| | loads gcode from given file in new object
|
| Expected< LoadedObjects > | MR::loadObjectFromFile (const std::filesystem::path &filename, const ProgressCallback &callback={}) |
| | load all objects (or any type: mesh, lines, points, voxels or scene) from file
|
| bool | MR::isSupportedFileInSubfolders (const std::filesystem::path &folder) |
| | checks if there are any supported files folder and subfolders
|
| Expected< LoadedObject > | MR::loadSceneFromAnySupportedFormat (const std::filesystem::path &path, const ProgressCallback &callback={}) |
| | tries to load scene from every format listed in SceneFormatFilters
|
| LoadedObject | MR::makeObjectMesh (std::string objName, LoadedMeshData data) |
| | constructs new ObjectMesh from the given data
|
| Expected< LoadedObject > | MR::deserializeObjectTree (const std::filesystem::path &path, const FolderCallback &postDecompress={}, const ProgressCallback &progressCb={}) |
| | loads objects tree from given scene file (zip/mru)
|
| Expected< LoadedObject > | MR::deserializeObjectTreeFromFolder (const std::filesystem::path &folder, const ProgressCallback &progressCb={}) |
| | loads objects tree from given scene folder
|
| IOFilters | MR::getAllFilters () |
| | returns filters for all supported file formats for all types of objects
|