1 // Copyright (C) 2009-2012 Gaz Davidson
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __IRR_PLY_MESH_WRITER_H_INCLUDED__
6 #define __IRR_PLY_MESH_WRITER_H_INCLUDED__
7 
8 #include "IMeshWriter.h"
9 
10 namespace irr
11 {
12 
13 namespace scene
14 {
15 	class IMeshBuffer;
16 
17 	//! class to write PLY mesh files
18 	class CPLYMeshWriter : public IMeshWriter
19 	{
20 	public:
21 
22 		CPLYMeshWriter();
23 
24 		//! Returns the type of the mesh writer
25 		virtual EMESH_WRITER_TYPE getType() const;
26 
27 		//! writes a mesh
28 		virtual bool writeMesh(io::IWriteFile* file, scene::IMesh* mesh, s32 flags=EMWF_NONE);
29 
30 	};
31 
32 } // end namespace
33 } // end namespace
34 
35 #endif
36