MEPP2 Project
Namespaces | Functions
ObjFileWriter.h File Reference
#include <iostream>
#include <vector>
#include <cstdio>
#include <string>
#include <exception>
#include <boost/filesystem.hpp>
#include "FEVV/Tools/IO/FileUtilities.hpp"
#include "FEVV/Tools/IO/StringUtilities.hpp"
#include "FEVV/Types/Material.h"
Include dependency graph for ObjFileWriter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FEVV
 Interfaces for plugins These interfaces will be used for different plugins.
 
 FEVV::IO
 

Functions

template<typename MaterialType >
void FEVV::IO::write_mtl_file (const std::string &mtl_file_name, std::vector< MaterialType > &materials)
 
template<typename CoordType , typename CoordNType , typename CoordTType , typename CoordCType , typename IndexType , typename MaterialType >
void FEVV::IO::write_obj_file (const std::string &file_path, std::vector< std::vector< CoordType > > &points_coords, std::vector< std::vector< CoordNType > > &normals_coords, std::vector< std::vector< CoordTType > > &texture_coords, std::vector< std::vector< CoordCType > > &vertex_color_coords, std::vector< std::vector< IndexType > > &face_indices, std::vector< std::vector< IndexType > > &texture_face_indices, std::vector< std::vector< IndexType > > &normal_face_indices, std::vector< MaterialType > &materials, std::vector< IndexType > &face_material)