660 |
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/ply_load.h
|
|
|
9 |
* @brief Load files of the PLY format.
|
|
|
10 |
*/
|
|
|
11 |
|
|
|
12 |
#ifndef __GEOMETRY_PLYLOAD_H_
|
|
|
13 |
#define __GEOMETRY_PLYLOAD_H_
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
#include "../Geometry/TriMesh.h"
|
|
|
17 |
|
|
|
18 |
namespace Geometry
|
|
|
19 |
{
|
|
|
20 |
/** Load geometry from a ply file into a TriMesh. This is a very crude loader which only extracts the
|
|
|
21 |
raw geometry. */
|
|
|
22 |
bool ply_load(const std::string& fn, Geometry::TriMesh& mesh);
|
|
|
23 |
}
|
|
|
24 |
|
|
|
25 |
#endif
|