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

Revision 2792, 635 bytes checked in by mattausch, 17 years ago (diff)
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        //~CHCTraverser();
17
18       
19protected:
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.