source: GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBoundingBoxConverter.h @ 933

Revision 933, 868 bytes checked in by mattausch, 19 years ago (diff)
Line 
1#ifndef _OgreBoundingBoxConverter_H__
2#define _OgreBoundingBoxConverter_H__
3 
4#include "OgreAxisAlignedBox.h"
5#include "AxisAlignedBox3.h"
6#include "Vector3.h"
7#include "BoundingBoxConverter.h"
8#include "Containers.h"
9
10namespace Ogre {
11
12class Entity;
13class OctreeSceneManager;
14
15/**     Class which converts preprocessor types to OGRE types
16*/
17class __declspec(dllexport) OgreBoundingBoxConverter: public GtpVisibilityPreprocessor::BoundingBoxConverter
18{
19public:
20        OgreBoundingBoxConverter(OctreeSceneManager *sm);
21
22        bool IdentifyObjects(const GtpVisibilityPreprocessor::IndexedBoundingBoxContainer &iboxes,
23                                                 GtpVisibilityPreprocessor::ObjectContainer &objects) const;
24
25
26protected:
27
28        Entity *FindCorrespondingObject(const AxisAlignedBox &box) const;
29
30        OctreeSceneManager *mSceneMgr;
31};
32
33} // namespace Ogre
34
35#endif // OgreBoundingBoxConverter
Note: See TracBrowser for help on using the repository browser.