Revision 373,
935 bytes
checked in by mattausch, 19 years ago
(diff) |
added visualization of view cells versus leaves
|
Line | |
---|
1 | #ifndef _BatchedQueriesCullingManager_H__
|
---|
2 | #define _BatchedQueriesCullingManager_H__
|
---|
3 |
|
---|
4 | #include "CoherentHierarchicalCullingManager.h"
|
---|
5 | #include "HierarchyInterface.h"
|
---|
6 |
|
---|
7 |
|
---|
8 | namespace GtpVisibility
|
---|
9 | {
|
---|
10 |
|
---|
11 | /** Renders the scene with the coherent hierarchical culling algorithm.
|
---|
12 | */
|
---|
13 | class BatchedQueriesCullingManager : public CoherentHierarchicalCullingManager
|
---|
14 | {
|
---|
15 | public:
|
---|
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 |
|
---|
26 | protected:
|
---|
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.