gwnavgeneration/input/inputtileblobbuilder.h Source File

inputtileblobbuilder.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 // primary contact: GUAL - secondary contact: NOBODY
8 
9 #ifndef GwNavGen_InputTileBlobBuilder_H
10 #define GwNavGen_InputTileBlobBuilder_H
11 
12 
15 
16 
17 namespace Kaim
18 {
19 
20 class GeneratorSystem;
21 class DynamicInputCell;
22 
23 
24 class InputTileBlobBuilder_FromDynamicInputCells : public BaseBlobBuilder<InputTileBlob>
25 {
26 public:
27  InputTileBlobBuilder_FromDynamicInputCells(
28  GeneratorSystem* sys, const TilePos& tilePos, const KyArrayPOD<DynamicInputCell*>* cells);
29 
30 private:
31  virtual void DoBuild();
32 
33  GeneratorSystem* m_sys;
34  TilePos m_tilePos;
35  CellBox m_tileCellBox;
36  const KyArrayPOD<DynamicInputCell*>* m_dynInputCells;
37 };
38 
39 class PdgInputTileBlobBuilder_FromInputCellBlobs : public BaseBlobBuilder<InputTileBlob>
40 {
41 public:
42  PdgInputTileBlobBuilder_FromInputCellBlobs(
43  GeneratorSystem* sys, const TilePos& tilePos, const KyArray<Ptr<BlobHandler<InputCellBlob> > >* inputCellBlobHandlers);
44 
45 private:
46  virtual void DoBuild();
47 
48  GeneratorSystem* m_sys;
49  TilePos m_tilePos;
50  CellBox m_tileCellBox;
51  const KyArray<Ptr<BlobHandler<InputCellBlob> > >* m_inputCellBlobHandlers;
52 };
53 
54 }
55 
56 #endif
Box2i CellBox
A type that represents a bounding box around cells in a 2D grid.
Definition: navmeshtypes.h:34
Definition: gamekitcrowddispersion.h:20