Subversion Repositories gelsvn

Rev

Rev 443 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 443 Rev 595
Line -... Line 1...
-
 
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
 
1
#ifndef __GEOMETRY_PLYLOAD_H_
12
#ifndef __GEOMETRY_PLYLOAD_H_
2
#define __GEOMETRY_PLYLOAD_H_
13
#define __GEOMETRY_PLYLOAD_H_
3
 
14
 
4
 
15
 
5
/*
-
 
6
 *  ply_load.h
-
 
7
 *  GEL
-
 
8
 *
-
 
9
 *  Created by J. Andreas Bærentzen on 08/08/07.
-
 
10
 *  Copyright 2007 __MyCompanyName__. All rights reserved.
-
 
11
 *
-
 
12
 */
-
 
13
 
-
 
14
#include "Geometry/TriMesh.h"
16
#include "Geometry/TriMesh.h"
15
 
17
 
16
namespace Geometry
18
namespace Geometry
17
{
19
{
18
	/** Load geometry from a ply file into a TriMesh. This is a very crude loader which only extracts the 
20
	/** Load geometry from a ply file into a TriMesh. This is a very crude loader which only extracts the 
19
		raw geometry. */
21
		raw geometry. */
20
	void ply_load(const std::string& fn, Geometry::TriMesh& mesh);
22
	bool ply_load(const std::string& fn, Geometry::TriMesh& mesh);
21
}
23
}
22
 
24
 
23
#endif
25
#endif
24
 
26