source: trunk/VUT/GtpVisibility/include/DummyQueryManager.h @ 159

Revision 159, 1.3 KB checked in by mattausch, 19 years ago (diff)

added flags for switching on/off transparents for item buffer and vertex programs for depth pass / item buffer

RevLine 
[65]1#ifndef _VisibilityDummyQueryManager_H__
2#define _VisibilityDummyQueryManager_H__
3
4#include "VisibilityInfo.h"
5#include "QueryManager.h"
6
7namespace GtpVisibility {
8/** This implements dummy visibility queries. The queries return only the root of the
9    hierarchy as visible node.
10*/
11  class DummyQueryManager : public QueryManager
12  {
13  public:
14    /** Constructor taking a scene traverser for a specific type of hierarchyInterface
15        as argument.
16    */
17    DummyQueryManager( HierarchyInterface *hierarchyInterface ):
18      QueryManager(hierarchyInterface) {}
19   
20    /**
21       @sa QueryManager::ComputeCameraVisibility()
22     */
23    virtual void
24    ComputeCameraVisibility(const Camera &camera,
25                            InfoContainer<NodeInfo> *visibleNodes,
26                            InfoContainer<MeshInfo> *visibleGeometry,
[159]27                                InfoContainer<GtpVisibility::PatchInfo> *visiblePatches,
[144]28                            bool relativeVisibility = false );
[65]29   
30    /**
31       @sa QueryManager::ComputeFromPointVisibility()
32     */
33    virtual void
34    ComputeFromPointVisibility(const Vector3 &point,
35                               InfoContainer<NodeInfo> *visibleNodes,
36                               InfoContainer<MeshInfo> *visibleGeometry,
[159]37                                        InfoContainer<GtpVisibility::PatchInfo> *visiblePatches,
[144]38                               bool relativeVisibility = false
[65]39                               );
40   
41  };
42 
43};
44#endif // VisibilitySummyQueryManager
Note: See TracBrowser for help on using the repository browser.