gwnavgeneration/navmesh/dynamicnavcellbuilder.h Source File

dynamicnavcellbuilder.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: LASI - secondary contact: NOBODY
12 #ifndef GwNavGen_DynamicNavCellBuilder_H
13 #define GwNavGen_DynamicNavCellBuilder_H
14 
17 
18 namespace Kaim
19 {
20 
21 class GeneratorSystem;
22 class BoundaryGraph;
23 class BoundaryPolygon;
24 class DynamicNavCell;
25 class DynamicNavCellHeightField;
26 class NavTag;
27 
28 class DynamicNavCellBuilder
29 {
30 
31 public:
32  DynamicNavCellBuilder(GeneratorSystem* sys, const CellDesc& celldesc) : m_sys(sys), m_cellDesc(celldesc) {}
33 
34  KyResult BuildNavCellFromBoundaryPolygons(
35  const BoundaryGraph& inputGraph,
36  DynamicNavCell& cell,
37  const KyArrayTLS_POD<KyUInt32>&connexIdxToNavTagIdx,
38  const KyArrayTLS_POD<const NavTag*>& navtagArray,
39  DynamicNavCellHeightField* heightField);
40 
41 public:
42  GeneratorSystem* m_sys;
43  CellDesc m_cellDesc;
44 };
45 
46 }
47 
48 
49 #endif //GwNavGen_DynamicNavCellBuilder_H
50 
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