28 #ifndef HPL_SECTOR_VISIBILTY_H 29 #define HPL_SECTOR_VISIBILTY_H 31 #include "hpl1/engine/math/BoundingVolume.h" 32 #include "hpl1/engine/math/Frustum.h" 38 class cPortalContainer;
39 class cSectorVisibilityContainer;
41 enum eSectorVisibilityType {
42 eSectorVisibilityType_BV,
43 eSectorVisibilityType_Frustum,
76 inline cPortalVisibility *GetVisibility(
size_t alIdx) {
return mvVisibility[alIdx]; }
77 inline size_t GetVisibilityNum() {
return mvVisibility.size(); }
79 bool PortalExists(
cPortal *apPortal);
81 int AddPortalVisibility(
cPortal *apPortal);
102 bool PortalExists(
cPortal *apPortal);
108 cSector *GetSector()
const {
return mpSector; }
129 typedef tSectorSet::iterator tSectorSetIt;
141 void SetFrustum(
const cFrustum &aFrustum) { mFrustum = aFrustum; }
144 const cVector3f &GetOrigin() {
return mvOrigin; }
152 tSectorVisibilityIterator GetSectorIterator();
165 tSectorSet m_setStartSectors;
167 tSectorVisibilityMap m_mapSectors;
168 eSectorVisibilityType mType;
170 tPortalVisibilitySetList mlstPortalVisibilty;
183 #endif // HPL_SECTOR_VISIBILTY_H Definition: PortalContainer.h:181
Definition: SectorVisibility.h:95
Definition: SystemTypes.h:467
typename TreeT::BasicIterator iterator
Definition: stablemap.h:48
Definition: BoundingVolume.h:71
Definition: SectorVisibility.h:67
Definition: BoundingVolume.h:57
Definition: PortalContainer.h:125
Definition: SectorVisibility.h:51
Definition: SectorVisibility.h:136
Definition: list_intern.h:51
Definition: PortalContainer.h:229