Rev | Line | |
---|
[933] | 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 | |
---|
| 10 | namespace Ogre {
|
---|
| 11 |
|
---|
| 12 | class Entity; |
---|
| 13 | class OctreeSceneManager;
|
---|
| 14 |
|
---|
| 15 | /** Class which converts preprocessor types to OGRE types
|
---|
| 16 | */
|
---|
| 17 | class __declspec(dllexport) OgreBoundingBoxConverter: public GtpVisibilityPreprocessor::BoundingBoxConverter
|
---|
| 18 | {
|
---|
| 19 | public:
|
---|
| 20 | OgreBoundingBoxConverter(OctreeSceneManager *sm);
|
---|
| 21 |
|
---|
| 22 | bool IdentifyObjects(const GtpVisibilityPreprocessor::IndexedBoundingBoxContainer &iboxes,
|
---|
| 23 | GtpVisibilityPreprocessor::ObjectContainer &objects) const;
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | protected:
|
---|
| 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.