Subversion Repositories gelsvn

Rev

Rev 383 | Rev 448 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 383 Rev 433
1
/*
1
/*
2
 *  load.h
2
 *  load.h
3
 *  GEL
3
 *  GEL
4
 *
4
 *
5
 *  Created by J. Andreas Bærentzen on 17/08/08.
5
 *  Created by J. Andreas Bærentzen on 17/08/08.
6
 *  Copyright 2008 __MyCompanyName__. All rights reserved.
6
 *  Copyright 2008 __MyCompanyName__. All rights reserved.
7
 *
7
 *
8
 */
8
 */
9
 
9
 
10
#ifndef __HMESHUTIL_LOAD__H__
10
#ifndef __HMESHUTIL_LOAD__H__
11
#define __HMESHUTIL_LOAD__H__
11
#define __HMESHUTIL_LOAD__H__
12
 
12
 
13
#include "HMesh/Manifold.h"
13
#include "HMesh/Manifold.h"
14
 
14
 
15
namespace HMesh
15
namespace HMesh
16
{
16
{
17
	/** Load an Wavefront OBJ file. This is just a simple frontend for the 
17
	/** Load a geometry file. This could be a PLY, OBJ, X3D, or OFF file */
18
		Geometry::obj_load function which loads OBJ files into triangle meshes. 
-
 
19
		Consequently, quads are unfortunately converted to triangles when this
-
 
20
		loader is used. */
-
 
21
	bool load(const std::string&, HMesh::Manifold& m);
18
	bool load(const std::string&, HMesh::Manifold& m);
22
}
19
}
23
#endif
20
#endif
24
 
21
 
25
 
22
 
26
 
23