gwnavgeneration/raster/cellrasterizerfrompdginput.h Source File

cellrasterizerfrompdginput.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 
9 
10 
11 // primary contact: GUAL - secondary contact: LASI
12 #ifndef GwNavGen_CellRasterizerFromPdgInput_H
13 #define GwNavGen_CellRasterizerFromPdgInput_H
14 
19 
20 namespace Kaim
21 {
22 
23 class GeneratorSystem;
24 class InputCellBlob;
25 
26 class CellRasterizerFromPdgInput : public CellRasterizer
27 {
28 public:
29  CellRasterizerFromPdgInput(GeneratorSystem* sys, const KyArrayPOD<const InputCellBlob*>* inputCells, const CellDesc& cellDesc, DynamicRasterCell* dynamicRaster)
30  : CellRasterizer(dynamicRaster)
31  {
32  m_sys = sys;
33  m_inputCells = inputCells;
34  m_pixelBox = cellDesc.m_enlargedPixelBox;
35  m_hasMultipleNavTags = false;
36  }
37 
38 public:
39  bool HasMultipleNavTags() const { return m_hasMultipleNavTags; }
40 
41 protected:
42  virtual KyResult DoRasterize();
43 
44 protected:
45  GeneratorSystem* m_sys;
46  const KyArrayPOD<const InputCellBlob*>* m_inputCells;
47  PixelBox m_pixelBox; // = cellDesc.m_enlargedPixelBox
48  bool m_hasMultipleNavTags; // useful information to speedup painting
49 };
50 
51 
52 }
53 
54 
55 #endif
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
Definition: gamekitcrowddispersion.h:20