Rev | Line | |
---|
[2557] | 1 | #ifndef _OGREVISIBILITYPREDICTOR_H__ |
---|
| 2 | #define _OGREVISIBILITYPREDICTOR_H__ |
---|
| 3 | |
---|
| 4 | #include <Ogre.h> |
---|
| 5 | #include "ViewCellsManager.h" |
---|
| 6 | #include "HierarchyInterface.h" |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | namespace Ogre {
|
---|
| 10 |
|
---|
| 11 | /** Visibility predictor
|
---|
| 12 | */
|
---|
| 13 |
|
---|
| 14 | class __declspec(dllexport) VisibilityPredictor
|
---|
| 15 | {
|
---|
| 16 | public:
|
---|
[2558] | 17 |
|
---|
| 18 | VisibilityPredictor();
|
---|
| 19 |
|
---|
[2557] | 20 | void HandleProbablyVisibleObjects(GtpVisibilityPreprocessor::ViewCell *vc);
|
---|
| 21 | void UpdateVisibility(GtpVisibilityPreprocessor::ViewCell *vc);
|
---|
| 22 |
|
---|
[2558] | 23 | void IssueMultiQuery(const vector<Entity *> &mEntities);
|
---|
[2557] | 24 |
|
---|
[2558] | 25 |
|
---|
[2557] | 26 | protected:
|
---|
| 27 |
|
---|
[2558] | 28 | GtpVisibility::HierarchyNodeContainer mEntityBuffer;
|
---|
[2557] | 29 | };
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | } // namespace Ogre
|
---|
| 33 |
|
---|
| 34 | #endif // VisibilityPredictor |
---|
Note: See
TracBrowser
for help on using the repository browser.