Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IMeshWriter.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2010 Nikolaus Gebhardt
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_I_MESH_WRITER_H_INCLUDED__
6 #define __IRR_I_MESH_WRITER_H_INCLUDED__
7 
8 #include "IReferenceCounted.h"
9 #include "EMeshWriterEnums.h"
10 
11 namespace irr
12 {
13 namespace io
14 {
15  class IWriteFile;
16 } // end namespace io
17 
18 namespace scene
19 {
20  class IMesh;
21 
23  class IMeshWriter : public virtual IReferenceCounted
24  {
25  public:
26 
28  virtual ~IMeshWriter() {}
29 
31 
35  virtual EMESH_WRITER_TYPE getType() const = 0;
36 
38 
42  virtual bool writeMesh(io::IWriteFile* file, scene::IMesh* mesh,
43  s32 flags=EMWF_NONE) = 0;
44 
45  // Writes an animated mesh
46  // for future use, no writer is able to write animated meshes currently
47  /* \return Returns true if sucessful */
48  //virtual bool writeAnimatedMesh(io::IWriteFile* file,
49  // scene::IAnimatedMesh* mesh,
50  // s32 flags=EMWF_NONE) = 0;
51  };
52 
53 
54 } // end namespace
55 } // end namespace
56 
57 #endif
58 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Tue Jun 5 2012 17:57:12 by Doxygen (1.8.1)