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 |
|
---|
10 | class __declspec(dllexport) ObjReader
|
---|
11 | {
|
---|
12 | public:
|
---|
13 | ObjReader(Ogre::SceneManager *sceneManager);
|
---|
14 | ~ObjReader();
|
---|
15 |
|
---|
16 | bool LoadFile(const string &sceneName,
|
---|
17 | const string &visibilitySolution,
|
---|
18 | Ogre::SceneNode *root);
|
---|
19 |
|
---|
20 | Ogre::Entity *CreateEntity(const std::string &name,
|
---|
21 | GtpVisibilityPreprocessor::Intersectable *object);
|
---|
22 | Ogre::ManualObject *CreateManualObject(const std::string &name,
|
---|
23 | GtpVisibilityPreprocessor::Intersectable *object);
|
---|
24 | protected:
|
---|
25 |
|
---|
26 | Ogre::SceneManager *mSceneManager;
|
---|
27 | };
|
---|
28 |
|
---|
29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.