Line | |
---|
1 | #ifndef __ObjReader_H__
|
---|
2 | #define __ObjReader_H__
|
---|
3 |
|
---|
4 | #include <string>
|
---|
5 | #include <vector>
|
---|
6 | #include <Ogre.h>
|
---|
7 | #include "Containers.h"
|
---|
8 |
|
---|
9 | namespace GtpVisibilityPreprocessor {
|
---|
10 | class Intersectable;
|
---|
11 | class Preprocessor;
|
---|
12 | }
|
---|
13 |
|
---|
14 | class __declspec(dllexport) ObjReader
|
---|
15 | {
|
---|
16 | public:
|
---|
17 | ObjReader(Ogre::SceneManager *sceneManager);
|
---|
18 | ~ObjReader();
|
---|
19 |
|
---|
20 | bool LoadFile(const std::string &sceneName,
|
---|
21 | const std::string &visibilitySolution,
|
---|
22 | Ogre::SceneNode *root);
|
---|
23 | void dummy();
|
---|
24 | Ogre::Entity * dummy2(const std::string &name,
|
---|
25 | GtpVisibilityPreprocessor::Intersectable *object);
|
---|
26 | Ogre::Entity *CreateEntity(const std::string &name,
|
---|
27 | GtpVisibilityPreprocessor::Intersectable *object);
|
---|
28 | Ogre::ManualObject *CreateManualObject(const std::string &name,
|
---|
29 | GtpVisibilityPreprocessor::Intersectable *object);
|
---|
30 | protected:
|
---|
31 |
|
---|
32 | Ogre::SceneManager *mSceneManager;
|
---|
33 | GtpVisibilityPreprocessor::ObjectContainer mPvsObjects;
|
---|
34 | GtpVisibilityPreprocessor::Preprocessor *mPreprocessor;
|
---|
35 | };
|
---|
36 |
|
---|
37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.