source: GTP/trunk/App/Demos/Vis/FriendlyCulling/src/CHCTraverser.h @ 2800

Revision 2800, 664 bytes checked in by mattausch, 16 years ago (diff)

friendly culling debug version with timers, no materials

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