gwnavgeneration/input/dynamicinputcell.h Source File

dynamicinputcell.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 // primary contact: GUAL - secondary contact: NOBODY
9 #ifndef GwNavGen_DynamicInputCell_H
10 #define GwNavGen_DynamicInputCell_H
11 
12 
17 
18 
19 namespace Kaim
20 {
21 
24 {
25  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
26 public:
28 
30 
32 
33  void Clear();
34  void PushTriangle(const DynamicTaggedTriangle3i& triangle);
35  void PushTagVolume(const TagVolume& volume);
36 
37 public:
38  KyGuid m_sectorGuid;
39  CellPos m_cellPos;
40  KyInt32 m_minAltitude;
41  KyInt32 m_maxAltitude;
42 
44  KyArray< Ptr<TagVolume> > m_tagVolumes;
45 };
46 
47 
48 }
49 
50 
51 #endif
int KyInt32
Type used internally to represent a 32-bit integer.
Definition: types.h:35
This class represents runtime-defined volumes with customized NavTag.
Definition: tagvolume.h:108
This class defines a two-dimensional vector whose coordinates are stored using 32-bit integers...
Definition: vec2i.h:26
Definition: gamekitcrowddispersion.h:20
The KyGuid class represents a globally unique ID.
Definition: kyguid.h:22
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
KyInt32 CellCoord
A type that represents the placement of a cell on one axis of a 2D grid.
Definition: navmeshtypes.h:32
Used in SpatializedSectorInput to gather all triangles, from sector m_sectorGuid, that impacts the m_...
Definition: dynamicinputcell.h:23