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 |
|
---|
15 | namespace GtpVisibilityPreprocessor {
|
---|
16 |
|
---|
17 | struct Triangle3;
|
---|
18 |
|
---|
19 | }
|
---|
20 |
|
---|
21 | //typedef std::vector<GtpVisibilityPreprocessor::Triangle3 *> TriangleContainer;
|
---|
22 |
|
---|
23 | class __declspec(dllexport) ObjReader
|
---|
24 | {
|
---|
25 | public:
|
---|
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 |
|
---|
34 | protected:
|
---|
35 |
|
---|
36 | std::vector<Ogre::Entity *> mObjects;
|
---|
37 | };
|
---|
38 |
|
---|
39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.