source: trunk/UPV/GTGeometry/include/GeoMesh.h @ 138

Revision 138, 873 bytes checked in by hidalgo, 19 years ago (diff)

Uploaded WP4 Dummy code(Geometry)

RevLine 
[138]1#ifndef __GEO_MESH__
2#define __GEO_MESH__
3
4#include <vector>
5#include <ostream>
6
7#include "GeoBase.h"
8#include "GeoVertexBuffer.h"
9#include "GeoSerializable.h"
10#include "GeoSubMesh.h"
11
12namespace Geometry {
13       
14        /// Mesh class interface
15        class Mesh : public Serializable
16        {
17        public:
18                /// Constructor
19                Mesh();
20
21                /// Destructor
22                ~Mesh();
23
24                /// Copy constructor
25                //Mesh(const Mesh&);
26
27                /// Assignment operator
28                //Mesh& operator =(const Mesh&);
29
30                /// Loads data from a Serializer
31                void Load(Serializer &s);
32
33                /// Saves data to a Serializer
34                void Save(Serializer &s);
35
36                VertexBuffer  *mVertexBuffer; ///< Shared VertexBuffer
37                SubMesh *mSubMesh;        ///< Array of subMesehs
38                size_t   mSubMeshCount;   ///< Total count of subMeshes
39                MeshType mType;           ///< Type of mesh
40        };
41
42} //end of Geometry namespace
43
44#endif
Note: See TracBrowser for help on using the repository browser.