Subversion Repositories gelsvn

Rev

Rev 383 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 383 Rev 393
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 an Wavefront OBJ file. This is just a simple frontend for the 
18
		Geometry::obj_load function which loads OBJ files into triangle meshes. 
18
		Geometry::obj_load function which loads OBJ files into triangle meshes. 
19
		Consequently, quads are unfortunately converted to triangles when this
19
		Consequently, quads are unfortunately converted to triangles when this
20
		loader is used. */
20
		loader is used. */
21
	bool load(const std::string&, HMesh::Manifold& m);
21
	bool load(const std::string&, HMesh::Manifold& m);
22
}
22
}
23
#endif
23
#endif
24
 
24
 
25
 
25
 
26
 
26