Revision 2770,
628 bytes
checked in by mattausch, 16 years ago
(diff) |
chc++ still problems
|
Line | |
---|
1 | #ifndef __CHCPLUSPLUSTRAVERSER_H
|
---|
2 | #define __CHCPLUSPLUSTRAVERSER_H
|
---|
3 |
|
---|
4 | #include "RenderTraverser.h"
|
---|
5 |
|
---|
6 |
|
---|
7 | namespace CHCDemo
|
---|
8 | {
|
---|
9 |
|
---|
10 | /** Class implementing traversal using the CHC++ algorithm.
|
---|
11 | */
|
---|
12 | class CHCPlusPlusTraverser: public RenderTraverser
|
---|
13 | {
|
---|
14 | public:
|
---|
15 |
|
---|
16 | CHCPlusPlusTraverser();
|
---|
17 | //~CHCPlusPlusTraverser();
|
---|
18 |
|
---|
19 | protected:
|
---|
20 | /** Traverses and renders the scene with the specified method
|
---|
21 | */
|
---|
22 | virtual void Traverse();
|
---|
23 |
|
---|
24 | void QueryPreviouslyInvisibleNodes(BvhNode *node);
|
---|
25 |
|
---|
26 | void IssueMultiQueries();
|
---|
27 |
|
---|
28 | //////////////
|
---|
29 |
|
---|
30 | BvhNodeQueue mIQueue;
|
---|
31 | BvhNodeQueue mVQueue;
|
---|
32 | };
|
---|
33 |
|
---|
34 | }
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 | #endif // __CHCPLUSPLUSTRAVERSER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.