00001 #ifndef _SolidHalfBoundingBox_H__ 00002 #define _SolidHalfBoundingBox_H__ 00003 00004 #include "OgreWireBoundingBox.h" 00005 00006 namespace Ogre { 00007 00013 class SolidHalfBoundingBox : public WireBoundingBox 00014 { 00015 public: 00016 00017 SolidHalfBoundingBox(bool isFirstHalf); 00018 void setupBoundingBox(const AxisAlignedBox& aabb); 00022 void getWorldTransforms(Matrix4* xform) const; 00023 00024 protected: 00025 00029 void setupBoundingBoxVertices(const AxisAlignedBox& aab); 00035 void setOcclusionQueryMaterial(); 00038 bool mIsFirstHalf; 00039 }; 00040 00041 }// namespace Ogre 00042 00043 #endif // SolidHalfBoundingBox 00044 00045