source: trunk/VUT/GtpVisibility/include/BatchedQueriesCullingManager.h @ 373

Revision 373, 935 bytes checked in by mattausch, 19 years ago (diff)

added visualization of view cells versus leaves

RevLine 
[373]1#ifndef _BatchedQueriesCullingManager_H__
2#define _BatchedQueriesCullingManager_H__
3
4#include "CoherentHierarchicalCullingManager.h"
5#include "HierarchyInterface.h"
6
7
8namespace GtpVisibility
9{
10
11/** Renders the scene with the coherent hierarchical culling algorithm.
12*/
13class BatchedQueriesCullingManager : public CoherentHierarchicalCullingManager
14{
15public:
16        BatchedQueriesCullingManager();
17        /** Constructor taking the assumed visibility into account, i.e., the estimation
18                for how many frames the current visibility is considered to be valid
19        */
20        BatchedQueriesCullingManager(const unsigned int assumedVisibility);
21
22        void RenderScene();
23       
24        void SetMaxPending(int maxPending);
25
26protected:
27
28        void IssueMultipleQueries(PendingQueue &pendingQueue, QueryQueue &queryQueue);
29
30        /** maximal pending nodes.
31        */
32        int mMaxPending;
33};
34
35} // namespace GtpVisibility
36
37#endif // BatchedQueriesCullingManager_H
Note: See TracBrowser for help on using the repository browser.