gwnavgeneration/input/inputtileblobbuilder.h Source File

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