Subversion Repositories gelsvn

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
595 jab 1
/* ----------------------------------------------------------------------- *
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
3
 * Copyright (C) the authors and DTU Informatics
4
 * For license and list of authors, see ../../doc/intro.pdf
5
 * ----------------------------------------------------------------------- */
6
 
7
/**
8
 * @file HMesh/obj_load.h
9
 * @brief Load Manifold from OBJ file
10
 */
11
 
448 jab 12
#ifndef __HMESH_OBJLOAD__H__
13
#define __HMESH_OBJLOAD__H__
149 jab 14
 
595 jab 15
#include <string>
149 jab 16
 
150 jab 17
namespace HMesh
149 jab 18
{
595 jab 19
    class Manifold;
20
    /** Load an Wavefront OBJ file. This is just a simple frontend for the 
21
    Geometry::obj_load function which loads OBJ files into triangle meshes. 
22
    Consequently, quads are unfortunately converted to triangles when this
23
    loader is used. */
24
    bool obj_load(const std::string&, Manifold& m);
149 jab 25
}
595 jab 26
#endif