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

Revision 2122, 678 bytes checked in by mattausch, 17 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
9
10class __declspec(dllexport) ObjReader
11{
12public:
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);
24protected:
25
26        Ogre::SceneManager *mSceneManager;
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.