gwnavruntime/queries/utils/cellfilter.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_CellFilter_H
10 #define Navigation_CellFilter_H
19 #include "gwnavruntime/math/box2iiterator.h"
26 class CellFilter :
public RefCountBaseNTS<CellFilter, Stat_Default_Mem>
36 void ExpandCellBox(
CellBox cellBox);
38 void AddCellPos(const
CellPos& cellPos);
40 void AddAllPosInCellBox(
CellBox cellBox);
42 bool IsInFilter(const
CellPos& cellPos) const;
44 Ptr<CellFilter> Clone() const;
46 void Display(ScopedDisplayList& displayList, const DatabaseGenMetrics& genMetrics) const;
49 template <class BitFieldClass>
50 void AddCellFilter(const
CellBox& cellBox, const BitFieldClass& bitField);
52 template <class BitFieldClass>
53 static
void Display(ScopedDisplayList& displayList, const DatabaseGenMetrics& genMetrics, const
CellBox& cellBox, const BitFieldClass& cellBoxCoverage);
57 BitField* m_cellBoxCoverage;
62 #include "gwnavruntime/queries/utils/cellfilter.inl"
64 #endif // Navigation_CellFilter_H
Box2i CellBox
A type that represents a bounding box around cells in a 2D grid.
Definition: navmeshtypes.h:34
Vec2i CellPos
A type that represents the position of a cell within a 2D grid.
Definition: navmeshtypes.h:33
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
Definition: gamekitcrowddispersion.h:20