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

Revision 65, 1.2 KB checked in by bittner, 20 years ago (diff)

Merged headers and sources for dummy modules. Added GtpVisibilityPreprocessor?

Line 
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,
27                            bool relativeVisibility = false
28                            );
29   
30    /**
31       @sa QueryManager::ComputeFromPointVisibility()
32     */
33    virtual void
34    ComputeFromPointVisibility(const Vector3 &point,
35                               InfoContainer<NodeInfo> *visibleNodes,
36                               InfoContainer<MeshInfo> *visibleGeometry,
37                               bool relativeVisibility = false
38                               );
39   
40  };
41 
42};
43#endif // VisibilitySummyQueryManager
Note: See TracBrowser for help on using the repository browser.