Line | |
---|
1 | #ifndef __CHCTRAVERSER_H
|
---|
2 | #define __CHCTRAVERSER_H
|
---|
3 |
|
---|
4 | #include "RenderTraverser.h"
|
---|
5 |
|
---|
6 |
|
---|
7 | namespace CHCDemoEngine
|
---|
8 | {
|
---|
9 |
|
---|
10 | /** Class implementing traversal using the CHC algorithm.
|
---|
11 | */
|
---|
12 | class CHCTraverser: public RenderTraverser
|
---|
13 | {
|
---|
14 | public:
|
---|
15 | CHCTraverser();
|
---|
16 | //~CHCTraverser();
|
---|
17 |
|
---|
18 |
|
---|
19 | protected:
|
---|
20 | /** Optimized query querying the node geometry instead
|
---|
21 | of the bounding box
|
---|
22 | */
|
---|
23 | OcclusionQuery *IssueOcclusionQueryWithGeometry(BvhNode *node);
|
---|
24 |
|
---|
25 | /** Traverses and renders the scene with the specified method
|
---|
26 | */
|
---|
27 | virtual void Traverse();
|
---|
28 |
|
---|
29 | /// the query queue
|
---|
30 | QueryQueue mQueryQueue;
|
---|
31 |
|
---|
32 | };
|
---|
33 |
|
---|
34 | }
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 | #endif // __CHCTRAVERSER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.