The free functions of this namespace.
|
static |
loads mesh from file in any .STL format: both binary and ASCII Generated from function MR::MeshLoad::fromAnyStl.
Calls MR_MeshLoad_fromAnyStl_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from stream in any .STL format: both binary and ASCII; important on Windows: in stream must be open in binary mode Generated from function MR::MeshLoad::fromAnyStl.
Calls MR_MeshLoad_fromAnyStl_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from file in the format detected from file extension Generated from function MR::MeshLoad::fromAnySupportedFormat.
Calls MR_MeshLoad_fromAnySupportedFormat(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from stream in the format detected from given extension-string (*.ext); important on Windows: in stream must be open in binary mode Generated from function MR::MeshLoad::fromAnySupportedFormat.
Calls MR_MeshLoad_fromAnySupportedFormat_stream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from file in textual .STL format Generated from function MR::MeshLoad::fromASCIIStl.
Calls MR_MeshLoad_fromASCIIStl_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from stream in textual .STL format Generated from function MR::MeshLoad::fromASCIIStl.
Calls MR_MeshLoad_fromASCIIStl_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from file in binary .STL format Generated from function MR::MeshLoad::fromBinaryStl.
Calls MR_MeshLoad_fromBinaryStl_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from stream in binary .STL format; important on Windows: in stream must be open in binary mode Generated from function MR::MeshLoad::fromBinaryStl.
Calls MR_MeshLoad_fromBinaryStl_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads from .ctm file Generated from function MR::MeshLoad::fromCtm.
Calls MR_MeshLoad_fromCtm_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Generated from function MR::MeshLoad::fromCtm.
Calls MR_MeshLoad_fromCtm_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads from Google Draco .drc file; the vertices with exactly the same coordinates are merged; if the file contains a point cloud, then the mesh without triangles is returned Generated from function MR::MeshLoad::fromDrc.
Calls MR_MeshLoad_fromDrc_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Generated from function MR::MeshLoad::fromDrc.
Calls MR_MeshLoad_fromDrc_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from file in .DXF format; Generated from function MR::MeshLoad::fromDxf.
Calls MR_MeshLoad_fromDxf_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from stream in .DXF format; Generated from function MR::MeshLoad::fromDxf.
Calls MR_MeshLoad_fromDxf_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from file in internal MeshLib format Generated from function MR::MeshLoad::fromMrmesh.
Calls MR_MeshLoad_fromMrmesh_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from stream in internal MeshLib format; important on Windows: in stream must be open in binary mode Generated from function MR::MeshLoad::fromMrmesh.
Calls MR_MeshLoad_fromMrmesh_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from file in .OBJ format Generated from function MR::MeshLoad::fromObj.
Calls MR_MeshLoad_fromObj_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from stream in .OBJ format; important on Windows: in stream must be open in binary mode Generated from function MR::MeshLoad::fromObj.
Calls MR_MeshLoad_fromObj_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from file in textual or binary .OFF format Generated from function MR::MeshLoad::fromOff.
Calls MR_MeshLoad_fromOff_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from stream in textual or binary .OFF format important on Windows: in stream must be open in binary mode Generated from function MR::MeshLoad::fromOff.
Calls MR_MeshLoad_fromOff_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from file in .PLY format; Generated from function MR::MeshLoad::fromPly.
Calls MR_MeshLoad_fromPly_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads mesh from stream in .PLY format; important on Windows: in stream must be open in binary mode Generated from function MR::MeshLoad::fromPly.
Calls MR_MeshLoad_fromPly_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads meshes from memory array with .obj file contents
| dir | working directory where materials and textures are located Generated from function MR::MeshLoad::fromSceneObjFile. |
Calls MR_MeshLoad_fromSceneObjFile_5(). The C++ function returns expected<std::vector<MR::MeshLoad::NamedMesh>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads meshes from .obj file Generated from function MR::MeshLoad::fromSceneObjFile.
Calls MR_MeshLoad_fromSceneObjFile_3(). The C++ function returns expected<std::vector<MR::MeshLoad::NamedMesh>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
loads meshes from a stream with .obj file contents important on Windows: in stream must be open in binary mode
| dir | working directory where materials and textures are located Generated from function MR::MeshLoad::fromSceneObjFile. |
Calls MR_MeshLoad_fromSceneObjFile_4(). The C++ function returns expected<std::vector<MR::MeshLoad::NamedMesh>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
load scene from STEP file using OpenCASCADE Generated from function MR::MeshLoad::fromSceneStepFile.
Calls MR_MeshLoad_fromSceneStepFile_std_filesystem_path(). The C++ function returns expected<std::shared_ptr<MR::Object>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Generated from function MR::MeshLoad::fromSceneStepFile.
Calls MR_MeshLoad_fromSceneStepFile_std_istream(). The C++ function returns expected<std::shared_ptr<MR::Object>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
load mesh data from STEP file using OpenCASCADE Generated from function MR::MeshLoad::fromStep.
Calls MR_MeshLoad_fromStep_std_filesystem_path(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Generated from function MR::MeshLoad::fromStep.
Calls MR_MeshLoad_fromStep_std_istream(). The C++ function returns expected<MR::Mesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
reads all objects from .OBJ file Generated from function MR::MeshLoad::loadObjectFromObj.
Calls MR_MeshLoad_loadObjectFromObj(). The C++ function returns expected<MR::LoadedObjects, std::string>: the value is returned and an error is thrown as UnexpectedResultException.