gwnavgeneration/navmesh/dynamicnavcellblobbuilder.h Source File

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