gwnavgeneration/navmesh/dynamicnavcellblobbuilder.h Source File

dynamicnavcellblobbuilder.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 GwNavGen_DynamicNavCellBlobBuilder_H
10 #define GwNavGen_DynamicNavCellBlobBuilder_H
11 
14 
15 namespace Kaim
16 {
17 
18 class NavCellBlob;
19 
20 // The purpose of this "special" BlobBuilder is to build a new NavCellBlob using an original NavCellBlob
21 // and dynamicVersionOf NavFloorBlob
22 class TagFullNavCellBlobBuilder : public BaseBlobBuilder<NavCellBlob>
23 {
24 public:
25  TagFullNavCellBlobBuilder(const NavCellBlob& originalNavCell, KyArray<Ptr<BaseBlobHandler> >& blobHandlerOfDynamicNavFloors)
26  {
27  m_originalNavCell = &originalNavCell;
28  m_blobHandlerOfDynamicNavFloors = &blobHandlerOfDynamicNavFloors;
29  }
30 
31 private:
32  virtual void DoBuild();
33 
34  const NavCellBlob* m_originalNavCell;
35  KyArray<Ptr<BaseBlobHandler> >* m_blobHandlerOfDynamicNavFloors;
36 };
37 
38 } // namespace Kaim
39 
40 #endif // GwNavGen_DynamicNavCellBlobBuilder_H
Definition: gamekitcrowddispersion.h:20