gwnavgeneration/navmesh/dynamicnavcellbuilder.h Source File

dynamicnavcellbuilder.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 
11 
12 namespace Kaim
13 {
14 
15 class GeneratorSystem;
16 class BoundaryGraph;
17 class BoundaryPolygon;
18 class DynamicNavCell;
19 class NavCellHeightField;
20 class NavTag;
21 
22 class DynamicNavCellBuilder
23 {
24 
25 public:
26  DynamicNavCellBuilder(GeneratorSystem* sys, const CellDesc& celldesc) : m_sys(sys), m_cellDesc(celldesc) {}
27 
28  KyResult BuildNavCellFromBoundaryPolygons(
29  const BoundaryGraph& inputGraph,
30  DynamicNavCell& cell,
31  const KyArrayTLS_POD<KyUInt32>&connexIdxToNavTagIdx,
32  const KyArrayTLS_POD<const NavTag*>& navtagArray,
33  NavCellHeightField* heightField);
34 
35 public:
36  GeneratorSystem* m_sys;
37  CellDesc m_cellDesc;
38 };
39 
40 }
41 
42 
43 
Navigation return code class.
Definition: types.h:108
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17