|
MRMESH_API MeshLoader | getMeshLoader (IOFilter filter) |
| Finds expected loader from registry.
|
|
MRMESH_API MeshStreamLoader | getMeshStreamLoader (IOFilter filter) |
| Finds expected loader from registry.
|
|
MRMESH_API IOFilters | getFilters () |
| Gets all registered filters.
|
|
MRMESH_API void | setMeshLoader (IOFilter filter, MeshLoader loader) |
| Add or override a loader in the registry.
|
|
MRMESH_API void | setMeshStreamLoader (IOFilter filter, MeshStreamLoader streamLoader) |
| Add or override a loader in the registry.
|
|
MRMESH_API Expected< Mesh > | fromMrmesh (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
| loads from internal file format
|
|
MRMESH_API Expected< Mesh > | fromMrmesh (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromOff (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
| loads from .off file
|
|
MRMESH_API Expected< Mesh > | fromOff (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromObj (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
| loads from .obj file
|
|
MRMESH_API Expected< Mesh > | fromObj (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromAnyStl (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
| loads from any .stl
|
|
MRMESH_API Expected< Mesh > | fromAnyStl (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromBinaryStl (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
| loads from binary .stl
|
|
MRMESH_API Expected< Mesh > | fromBinaryStl (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromASCIIStl (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
| loads from ASCII .stl
|
|
MRMESH_API Expected< Mesh > | fromASCIIStl (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromPly (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
| loads from .ply file
|
|
MRMESH_API Expected< Mesh > | fromPly (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromCtm (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
| loads from .ctm file
|
|
MRMESH_API Expected< Mesh > | fromCtm (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromDxf (const std::filesystem::path &path, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromDxf (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromAnySupportedFormat (const std::filesystem::path &file, const MeshLoadSettings &settings={}) |
| detects the format from file extension and loads mesh from it
|
|
MRMESH_API Expected< Mesh > | fromAnySupportedFormat (std::istream &in, const std::string &extension, const MeshLoadSettings &settings={}) |
| extension in *.ext format
|
|
MRMESH_API Expected< std::vector< NamedMesh > > | fromSceneObjFile (const std::filesystem::path &file, bool combineAllObjects, const ObjLoadSettings &settings={}) |
| loads meshes from .obj file
|
|
MRMESH_API Expected< std::vector< NamedMesh > > | fromSceneObjFile (std::istream &in, bool combineAllObjects, const std::filesystem::path &dir, const ObjLoadSettings &settings={}) |
|
MRMESH_API Expected< std::vector< NamedMesh > > | fromSceneObjFile (const char *data, size_t size, bool combineAllObjects, const std::filesystem::path &dir, const ObjLoadSettings &settings={}) |
|
MRMESH_API Expected< Mesh > | fromStep (const std::filesystem::path &path, const MeshLoadSettings &settings={}) |
| load mesh data from STEP file using OpenCASCADE
|
|
MRMESH_API Expected< Mesh > | fromStep (std::istream &in, const MeshLoadSettings &settings={}) |
|
MRMESH_API Expected< std::shared_ptr< Object > > | fromSceneStepFile (const std::filesystem::path &path, const MeshLoadSettings &settings={}) |
| load scene from STEP file using OpenCASCADE
|
|
MRMESH_API Expected< std::shared_ptr< Object > > | fromSceneStepFile (std::istream &in, const MeshLoadSettings &settings={}) |
|