source: trunk/VUT/OcclusionCullingSceneManager/include/OgreSolidHalfBoundingBox.h @ 26

Revision 26, 803 bytes checked in by gametools, 19 years ago (diff)
Line 
1#ifndef _SolidHalfBoundingBox_H__
2#define _SolidHalfBoundingBox_H__
3
4#include "OgrePrerequisites.h"
5
6#include "OgreWireBoundingBox.h"
7
8namespace Ogre {
9
10    /** Allows the rendering of one half of a solid bounding box.
11        @remarks
12            This class builds a wireframe renderable from a given aabb. A pointer to this class can be
13                        added to a render queue to display the bounding box of an object.
14    */
15        class SolidHalfBoundingBox : public WireBoundingBox
16        {
17    protected:
18       
19        /** Builds the wireframe line list.
20        */
21                void setupBoundingBoxVertices(const AxisAlignedBox& aab);
22               
23        public:
24               
25                bool mIsFirstHalf;
26                void setupBoundingBox(const AxisAlignedBox& aabb);
27                SolidHalfBoundingBox(bool isFirstHalf);
28        };
29
30}// namespace
31
32#endif
33
34
Note: See TracBrowser for help on using the repository browser.