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

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
9namespace  GtpVisibilityPreprocessor {
10class Intersectable;
11}
12
13class __declspec(dllexport) ObjReader
14{
15public:
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);
29protected:
30
31        Ogre::SceneManager *mSceneManager;
32        GtpVisibilityPreprocessor::ObjectContainer mPvsObjects;
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.