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

Revision 2124, 1008 bytes checked in by mattausch, 18 years ago (diff)
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
9namespace  GtpVisibilityPreprocessor {
10class Intersectable;
11class Preprocessor;
12}
13
14class __declspec(dllexport) ObjReader
15{
16public:
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);
30protected:
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.