gwnavgeneration/raster/cellrasterizerfrompdginput.h Source File

cellrasterizerfrompdginput.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 
8 
9 
10 
11 #pragma once
12 
17 
18 namespace Kaim
19 {
20 
21 class GeneratorSystem;
22 class InputCellBlob;
23 
24 class CellRasterizerFromPdgInput : public CellRasterizer
25 {
26 public:
27  CellRasterizerFromPdgInput(GeneratorSystem* sys, const KyArrayPOD<const InputCellBlob*>* inputCells, const CellDesc& cellDesc, DynamicRasterCell* dynamicRaster)
28  : CellRasterizer(dynamicRaster)
29  {
30  m_sys = sys;
31  m_inputCells = inputCells;
32  m_pixelBox = cellDesc.m_enlargedPixelBox;
33  m_hasMultipleNavTags = false;
34  }
35 
36 public:
37  bool HasMultipleNavTags() const { return m_hasMultipleNavTags; }
38 
39 protected:
40  virtual KyResult DoRasterize();
41 
42 protected:
43  GeneratorSystem* m_sys;
44  const KyArrayPOD<const InputCellBlob*>* m_inputCells;
45  PixelBox m_pixelBox; // = cellDesc.m_enlargedPixelBox
46  bool m_hasMultipleNavTags; // useful information to speedup painting
47 };
48 
49 
50 }
51 
52 
Navigation return code class.
Definition: types.h:108
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17