13#ifndef HMICORE_WIDGETS_PLAN_POSITION_INDICATOR_H_
14#define HMICORE_WIDGETS_PLAN_POSITION_INDICATOR_H_
22#include <unordered_map>
39 uint32_t rgb_value = 0x00FF0000;
60 std::string
GetWidgetName() const final {
return "WidgetPlanPositionIndicator"; };
78 void DrawPPI(widget::ModeEnum mode, int32_t x, int32_t y, int16_t degrees, int16_t sight_azimuth,
79 int16_t weapon_azimuth) const;
94 void AddThreat(int16_t
id, ThreatType threat);
149 void DrawModern(int32_t x, int32_t y, int16_t degrees, int16_t sightAzimuth, int16_t weaponAzimuth,
bool sight)
const;
160 void DrawClassic(
widget::ModeEnum mode, int32_t x, int32_t y, int16_t degrees, int16_t sight_azimuth,
161 int16_t weapon_azimuth)
const;
170 void DrawSight(double_t radius, int16_t render_sight_azimuth, double_t angle)
const;
176 void DrawThreats()
const;
178 const double scale_ = 0.5;
179 int16_t radius_ = 100;
180 int16_t bearing_ = 0;
181 int16_t bearing_sight_ = 0;
182 int16_t weapon_azimuth_ = 10;
184 std::unordered_map<int16_t, std::shared_ptr<ThreatType>> threats_;
Class definition of the GVA renderer.
Definition renderer_gva.h:29