gwnavruntime/navmesh/blobs/navcellblobbuilder.h Source File

navcellblobbuilder.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 
8 // Primary contact: JUBA - secondary contact: LASI (NavCellCleaner_BlobBuilder)
9 #ifndef Navigation_NavCellBlobBuilder_H
10 #define Navigation_NavCellBlobBuilder_H
11 
14 
15 namespace Kaim
16 {
17 
18 class DynamicNavCell;
19 class NavCellBlob;
20 class NavTag;
21 
22 class TagFreeNavCellBlobBuilder : public BaseBlobBuilder<NavCellBlob>
23 {
24 public:
25  TagFreeNavCellBlobBuilder(const DynamicNavCell& dynamicNavCell) :
26  m_dynamicNavCell(&dynamicNavCell){}
27 
28 private:
29  virtual void DoBuild();
30 
31 private:
32  const DynamicNavCell* m_dynamicNavCell;
33 };
34 
35 class FilteredNavCellBlobBuilder : public BaseBlobBuilder<NavCellBlob>
36 {
37 public:
38  FilteredNavCellBlobBuilder(const NavCellBlob* taggedCell,
39  const DynamicNavCell& dynamicNavCell, const KyArrayPOD<KyUInt32>& newNavFloorIdxToPreviousNavFloorIdx)
40  : m_taggedNavCell(taggedCell)
41  , m_dynamicNavCell(&dynamicNavCell)
42  , m_newNavFloorIdxToPreviousNavFloorIdx(&newNavFloorIdxToPreviousNavFloorIdx)
43  {}
44 
45 
46 private:
47  virtual void DoBuild();
48 
49 private:
50  const NavCellBlob* m_taggedNavCell;
51  const DynamicNavCell* m_dynamicNavCell;
52  const KyArrayPOD<KyUInt32>* m_newNavFloorIdxToPreviousNavFloorIdx;
53 };
54 
55 
56 } // namespace Kaim
57 
58 
59 #endif // Navigation_NavCellBlobBuilder_H
Definition: gamekitcrowddispersion.h:20