|
|
MRMESH_API Expected< ObjectMesh > | MR::makeObjectMeshFromFile (const std::filesystem::path &file, const MeshLoadInfo &info={}) |
| loads mesh from given file in new object
|
|
MRMESH_API Expected< std::shared_ptr< Object > > | MR::makeObjectFromMeshFile (const std::filesystem::path &file, const MeshLoadInfo &info={}, bool returnOnlyMesh=false) |
| loads mesh from given file and makes either ObjectMesh or ObjectPoints (if the file has points but not faces)
|
|
MRMESH_API Expected< ObjectLines > | MR::makeObjectLinesFromFile (const std::filesystem::path &file, ProgressCallback callback={}) |
| loads lines from given file in new object
|
|
MRMESH_API Expected< ObjectPoints > | MR::makeObjectPointsFromFile (const std::filesystem::path &file, ProgressCallback callback={}) |
| loads points from given file in new object
|
|
MRMESH_API Expected< ObjectDistanceMap > | MR::makeObjectDistanceMapFromFile (const std::filesystem::path &file, ProgressCallback callback={}) |
| loads distance map from given file in new object
|
|
MRMESH_API Expected< ObjectGcode > | MR::makeObjectGcodeFromFile (const std::filesystem::path &file, ProgressCallback callback={}) |
| loads gcode from given file in new object
|
|
MRMESH_API Expected< std::vector< std::shared_ptr< Object > > > | MR::loadObjectFromFile (const std::filesystem::path &filename, std::string *loadWarn=nullptr, ProgressCallback callback={}) |
| load object (mesh, lines, points, voxels or scene) from file
|
|
MRMESH_API bool | MR::isSupportedFileInSubfolders (const std::filesystem::path &folder) |
|
MRMESH_API Expected< Object > | MR::makeObjectTreeFromFolder (const std::filesystem::path &folder, std::string *loadWarn=nullptr, ProgressCallback callback={}) |
| loads meshes from given folder in new container object
|
|
MRMESH_API Expected< std::shared_ptr< Object > > | MR::loadSceneFromAnySupportedFormat (const std::filesystem::path &path, std::string *loadWarn=nullptr, ProgressCallback callback={}) |
|
MRMESH_API Expected< std::shared_ptr< Object > > | MR::deserializeObjectTree (const std::filesystem::path &path, FolderCallback postDecompress={}, ProgressCallback progressCb={}) |
| loads objects tree from given scene file (zip/mru)
|
|
MRMESH_API Expected< std::shared_ptr< Object > > | MR::deserializeObjectTreeFromFolder (const std::filesystem::path &folder, ProgressCallback progressCb={}) |
| loads objects tree from given scene folder
|
|