gwnavruntime/world/pointofinterestdisplay.h Source File

pointofinterestdisplay.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: LAPA - secondary contact: NOBODY
9 #ifndef Navigation_PointOfInterestDisplay_H
10 #define Navigation_PointOfInterestDisplay_H
11 
14 
15 namespace Kaim
16 {
17 
18 class PointOfInterestBlob;
19 
20 class PointOfInterestDisplayListBuilder
21 {
22 public:
23  PointOfInterestDisplayListBuilder()
24  {
25  m_flagColor_Undefined = VisualColor::Red;
26  m_flagColor_Custom = VisualColor::Orange;
27  m_mastHeight = 2.5f;
28  m_flagHeight = 0.5f;
29  m_circleRadius = 0.2f;
30  }
31 
32  void DisplayPointOfInterest(ScopedDisplayList* displayList, const PointOfInterestBlob* pointOfInterest);
33  const VisualColor& GetColorFromPoiType(KyUInt32 pointOfInterestType);
34 
35 public:
36  VisualColor m_flagColor_Undefined;
37  VisualColor m_flagColor_Custom;
38  KyFloat32 m_mastHeight;
39  KyFloat32 m_flagHeight;
40  KyFloat32 m_circleRadius;
41 };
42 
43 } // namespace Kaim
44 
45 #endif // Navigation_PointOfInterestDisplay_H
static const VisualColor Orange
Represents the color with RGBA values (255, 165, 0, 255).  
Definition: visualcolor.h:195
static const VisualColor Red
Represents the color with RGBA values (255, 0, 0, 255).  
Definition: visualcolor.h:209
Definition: gamekitcrowddispersion.h:20
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43