Revision 2123,
929 bytes
checked in by mattausch, 17 years ago
(diff) |
worded on obj loading in Ogre
|
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 | }
|
---|
12 |
|
---|
13 | class __declspec(dllexport) ObjReader
|
---|
14 | {
|
---|
15 | public:
|
---|
16 | ObjReader(Ogre::SceneManager *sceneManager);
|
---|
17 | ~ObjReader();
|
---|
18 |
|
---|
19 | bool LoadFile(const std::string &sceneName,
|
---|
20 | const std::string &visibilitySolution,
|
---|
21 | Ogre::SceneNode *root);
|
---|
22 | void dummy();
|
---|
23 | Ogre::Entity * dummy2(const std::string &name,
|
---|
24 | GtpVisibilityPreprocessor::Intersectable *object);
|
---|
25 | Ogre::Entity *CreateEntity(const std::string &name,
|
---|
26 | GtpVisibilityPreprocessor::Intersectable *object);
|
---|
27 | Ogre::ManualObject *CreateManualObject(const std::string &name,
|
---|
28 | GtpVisibilityPreprocessor::Intersectable *object);
|
---|
29 | protected:
|
---|
30 |
|
---|
31 | Ogre::SceneManager *mSceneManager;
|
---|
32 | GtpVisibilityPreprocessor::ObjectContainer mPvsObjects;
|
---|
33 | };
|
---|
34 |
|
---|
35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.