source: GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBiHierarchyCamera.h @ 2349

Revision 2349, 1.0 KB checked in by vizrt_christian_seidl, 18 years ago (diff)

Added: BIHierarchy SceneManager?

BiTerrain? SceneManager?

Line 
1/*
2-----------------------------------------------------------------------------
3This source file is part of the GameTools Project
4http://www.gametools.org
5
6Author: Martin Szydlowski
7-----------------------------------------------------------------------------
8*/
9
10#ifndef _OgreBiHierarchyCamera_H_
11#define _OgreBiHierarchyCamera_H_
12
13#include <OgreCamera.h>
14
15#define BIHCAMPTR_CAST(cam) (static_cast<BiHierarchyCamera *>(cam))
16
17namespace Ogre
18{
19
20class BiHierarchyCamera : public Camera
21{
22public:
23        enum NodeVisibility
24        {
25                BIHNV_NONE,
26                BIHNV_PART,
27                BIHNV_FULL
28        };
29
30        // default constructor
31        BiHierarchyCamera(const String& name, SceneManager *sm);
32        // default destructor
33        ~BiHierarchyCamera();
34
35        // regular visibility, like isVisible
36        NodeVisibility getVisibilitySimple(const AxisAlignedBox& box ) const;
37        // enhanced visibility
38        NodeVisibility getVisibilityEnhanced(const AxisAlignedBox& box) const;
39
40        // statistical info
41        mutable unsigned int mNumVisQueries;
42};
43
44} // namespace Ogre
45
46#endif // _OgreBiHierarchyCamera_H_
Note: See TracBrowser for help on using the repository browser.