gwnavruntime/navmesh/blobs/navcellblobbuilder.h Source File

navcellblobbuilder.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 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 #pragma once
9 
12 
13 namespace Kaim
14 {
15 
16 class DynamicNavCell;
17 class NavCellBlob;
18 class NavTag;
19 
20 class TagFreeNavCellBlobBuilder : public BaseBlobBuilder<NavCellBlob>
21 {
22 public:
23  TagFreeNavCellBlobBuilder(const DynamicNavCell& dynamicNavCell) :
24  m_dynamicNavCell(&dynamicNavCell){}
25 
26 private:
27  virtual void DoBuild();
28 
29 private:
30  const DynamicNavCell* m_dynamicNavCell;
31 };
32 
33 class FilteredNavCellBlobBuilder : public BaseBlobBuilder<NavCellBlob>
34 {
35 public:
36  FilteredNavCellBlobBuilder(const NavCellBlob* taggedCell,
37  const DynamicNavCell& dynamicNavCell, const KyArrayPOD<KyUInt32>& newNavFloorIdxToPreviousNavFloorIdx)
38  : m_taggedNavCell(taggedCell)
39  , m_dynamicNavCell(&dynamicNavCell)
40  , m_newNavFloorIdxToPreviousNavFloorIdx(&newNavFloorIdxToPreviousNavFloorIdx)
41  {}
42 
43 
44 private:
45  virtual void DoBuild();
46 
47 private:
48  const NavCellBlob* m_taggedNavCell;
49  const DynamicNavCell* m_dynamicNavCell;
50  const KyArrayPOD<KyUInt32>* m_newNavFloorIdxToPreviousNavFloorIdx;
51 };
52 
53 
54 } // namespace Kaim
55 
56 
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17