source: GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/include/ObjReader.h @ 2111

Revision 2111, 672 bytes checked in by mattausch, 17 years ago (diff)
Line 
1#ifndef __ObjReader_H__
2#define __ObjReader_H__
3
4//#include <stdlib>
5#include <string>
6#include <vector>
7#include <Ogre.h>
8/*#include "ObjNode.h"
9#include "ObjMeshData.h"
10#include "ObjManualMeshLoader.h"
11*/
12
13
14namespace GtpVisibilityPreprocessor {
15
16struct Triangle3;
17
18}
19
20typedef std::vector<GtpVisibilityPreprocessor::Triangle3 *> TriangleContainer;
21
22class __declspec(dllexport) ObjReader
23{
24public:
25        ObjReader();
26        ~ObjReader();
27
28        bool LoadFile(const std::string &filename,
29                                  TriangleContainer &triangles) const;
30       
31        const std::vector<Ogre::Entity *> &GetObjects() const;
32
33protected:
34
35        std::vector<Ogre::Entity *> mObjects;
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.