MeshLib
 
Loading...
Searching...
No Matches
MRMeshLoadObj.h File Reference
#include "MRMesh.h"
#include "MRMeshTexture.h"
#include "MRProgressCallback.h"
#include "MRExpected.h"
#include "MRMeshLoadSettings.h"
#include "MRAffineXf3.h"
#include <filesystem>
#include <istream>
#include <string>

Go to the source code of this file.

Classes

struct  MR::MeshLoad::ObjLoadSettings
 
struct  MR::MeshLoad::NamedMesh
 

Namespaces

namespace  MR
 
namespace  MR::MeshLoad
 

Functions

MRMESH_API Expected< std::vector< NamedMesh > > MR::MeshLoad::fromSceneObjFile (const std::filesystem::path &file, bool combineAllObjects, const ObjLoadSettings &settings={})
 loads meshes from .obj file
 
MRMESH_API Expected< std::vector< NamedMesh > > MR::MeshLoad::fromSceneObjFile (std::istream &in, bool combineAllObjects, const std::filesystem::path &dir, const ObjLoadSettings &settings={})
 
MRMESH_API Expected< std::vector< NamedMesh > > MR::MeshLoad::fromSceneObjFile (const char *data, size_t size, bool combineAllObjects, const std::filesystem::path &dir, const ObjLoadSettings &settings={})