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

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