MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Functions
mesh_io_obj.cc File Reference
#include <fstream>
#include <iostream>
#include <cerrno>
#include <cstring>
#include <map>
#include "util/strings.h"
#include "util/tokenizer.h"
#include "util/exception.h"
#include "util/file_system.h"
#include "mve/mesh_io_obj.h"
Include dependency graph for mesh_io_obj.cc:

Go to the source code of this file.

Namespaces

namespace  mve
 Multi-View Environment library.
 
namespace  mve::geom
 Geometric tools, loading and processing functions.
 

Functions

void mve::geom::load_mtl_file (std::string const &filename, std::map< std::string, std::string > *result)
 
mve::TriangleMesh::Ptr mve::geom::load_obj_mesh (std::string const &filename)
 Loads a triangle mesh from an OBJ model file.
 
void mve::geom::load_obj_mesh (std::string const &filename, std::vector< ObjModelPart > *obj_model_parts)
 Loads all groups from an OBJ model file.
 
void mve::geom::save_obj_mesh (TriangleMesh::ConstPtr mesh, std::string const &filename)
 Saves a triangle mesh to an OBJ model file.
 

Variable Documentation

◆ normal_id

unsigned int normal_id

Definition at line 31 of file mesh_io_obj.cc.

◆ texcoord_id

unsigned int texcoord_id

Definition at line 30 of file mesh_io_obj.cc.

◆ vertex_id

unsigned int vertex_id

Definition at line 29 of file mesh_io_obj.cc.