688 |
khor |
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 Geometry/load.h
|
|
|
9 |
* @brief Load triangle mesh from one of a small number of file formats.
|
|
|
10 |
*/
|
|
|
11 |
|
|
|
12 |
#ifndef __GEOMETRY_LOAD_H__
|
|
|
13 |
#define __GEOMETRY_LOAD_H__
|
|
|
14 |
|
|
|
15 |
#include <string>
|
|
|
16 |
#include "TriMesh.h"
|
|
|
17 |
|
|
|
18 |
namespace Geometry
|
|
|
19 |
{
|
|
|
20 |
/// Load a TriMesh from a file. Loader chosen based on extension.
|
|
|
21 |
void load(const std::string &filename, TriMesh &mesh);
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
#endif
|