AI_SDB_SpatialListHierarchy.h

Go to the documentation of this file.
00001 #ifndef AI_SDB_SPATIALLIST_H
00002 #define AI_SDB_SPATIALLIST_H
00003 
00004 #include "AI_SDB_SpatialElements.h"
00005 
00024 class AI_SDB_SpatialListHierarchy : public AI_SDB_SpatialHierarchyElement
00025 {
00026 public:
00027     AI_SDB_SpatialListHierarchy();
00028     ~AI_SDB_SpatialListHierarchy();
00029 
00031     void ClearList();
00032 
00034     void AddElement(AI_SDB_SpatialElement *appendme);
00036     void RemoveElement(AI_SDB_SpatialElement *removeme);
00037 
00039     virtual void Accept(AI_SDB_VisibilityVisitor &visitor, int recursiondepth, AI_SDB_VisitorFlags flags);
00041     virtual void Accept(AI_SDB_SpatialVisitor &visitor, int recursiondepth, AI_SDB_VisitorFlags flags);
00043     virtual void Accept(AI_SDB_OcclusionVisitor &visitor, int recursiondepth, AI_SDB_VisitorFlags flags);
00044 
00045 protected:
00046     AI_List m_ElementList;
00047 };
00048 
00049 #endif