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

Revision 2112, 722 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 "Containers.h"
9/*#include "ObjNode.h"
10#include "ObjMeshData.h"
11#include "ObjManualMeshLoader.h"
12*/
13
14
15namespace GtpVisibilityPreprocessor {
16
17struct Triangle3;
18
19}
20
21//typedef std::vector<GtpVisibilityPreprocessor::Triangle3 *> TriangleContainer;
22
23class __declspec(dllexport) ObjReader
24{
25public:
26        ObjReader();
27        ~ObjReader();
28
29        bool LoadFile(const std::string &filename,
30                                  GtpVisibilityPreprocessor::ObjectContainer &objects) const;
31       
32        const std::vector<Ogre::Entity *> &GetObjects() const;
33
34protected:
35
36        std::vector<Ogre::Entity *> mObjects;
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.