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

Revision 2124, 1008 bytes checked in by mattausch, 17 years ago (diff)
RevLine 
[2111]1#ifndef __ObjReader_H__
2#define __ObjReader_H__
[2109]3
[2111]4#include <string>
5#include <vector>
6#include <Ogre.h>
[2112]7#include "Containers.h"
[2109]8
[2123]9namespace  GtpVisibilityPreprocessor {
10class Intersectable;
[2124]11class Preprocessor;
[2123]12}
[2109]13
[2111]14class __declspec(dllexport) ObjReader
[2109]15{
[2111]16public:
[2119]17        ObjReader(Ogre::SceneManager *sceneManager);
[2111]18        ~ObjReader();
[2109]19
[2123]20        bool LoadFile(const std::string &sceneName,
21                                  const std::string &visibilitySolution,
[2119]22                                  Ogre::SceneNode *root);
[2123]23        void dummy();
24        Ogre::Entity * dummy2(const std::string &name,
25                                GtpVisibilityPreprocessor::Intersectable *object);
[2119]26        Ogre::Entity *CreateEntity(const std::string &name,
27                                                           GtpVisibilityPreprocessor::Intersectable *object);
[2122]28        Ogre::ManualObject *CreateManualObject(const std::string &name,
29                                                           GtpVisibilityPreprocessor::Intersectable *object);
[2111]30protected:
[2109]31
[2119]32        Ogre::SceneManager *mSceneManager;
[2123]33        GtpVisibilityPreprocessor::ObjectContainer mPvsObjects;
[2124]34        GtpVisibilityPreprocessor::Preprocessor *mPreprocessor;
[2109]35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.