gwnavgeneration/navraster/navrastervisualgeometrybuilder.h Source File

navrastervisualgeometrybuilder.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: LASI - secondary contact: GUAL
8 #ifndef GwNavGen_NavRasterCellVisualGeometryBuilder_H
9 #define GwNavGen_NavRasterCellVisualGeometryBuilder_H
10 
13 
14 namespace Kaim
15 {
16 
17 class VisualGeometryBuilder;
18 class NavRasterCell;
19 class NavRasterPixel;
20 
21 class NavRasterCellVisualGeometryBuilder : public IVisualGeometryBuilder
22 {
23 public:
24  NavRasterCellVisualGeometryBuilder(NavRasterCell* navRasterCell) : m_navRasterCell(navRasterCell) {}
25 
26  virtual void DoBuild();
27 
28 private:
29  const NavRasterPixel* GetNeighbor(const NavRasterPixel& pixel, const PixelPos& pos, KyInt32 dir);
30 
31 public:
32  NavRasterCell* m_navRasterCell;
33 };
34 
35 
36 }
37 
38 
39 #endif // GwNavGen_NavRasterCellVisualGeometryBuilder_H
int KyInt32
Type used internally to represent a 32-bit integer.
Definition: types.h:35
Definition: gamekitcrowddispersion.h:20