36 const std::optional<ManagedMatchSnapshot>& snapshot,
37 const std::string& home_name,
const std::string& away_name);
96 std::array<int, MatchTracking::CELLS>
cells{};
134 std::array<std::vector<HeatChoice>, 2>
heat;
Main view manager for the GUI. Handles scenes and overlays.
Definition gui_view.h:29
Manages the core game logic, interacting with teams, leagues, and players.
Definition game_controller.h:70
The Analysis tab of the match report: a written summary, the xG race with final-third pressure,...
Definition match_insights_view.h:31
std::size_t cell_tooltip_choice
Definition match_insights_view.h:141
std::size_t heat_choice
Definition match_insights_view.h:137
float xg_top
Definition match_insights_view.h:116
int heat_side
Definition match_insights_view.h:136
std::array< std::vector< std::size_t >, 2 > heat_detail
Definition match_insights_view.h:135
std::array< std::string, 2 > xg_totals
Definition match_insights_view.h:118
void renderMoments(float width)
Definition match_insights_view.cpp:825
std::vector< std::string > summary
Definition match_insights_view.h:113
void renderHeatmap(float width)
Definition match_insights_view.cpp:1016
int focus_moment
Definition match_insights_view.h:128
int cell_tooltip_side
Definition match_insights_view.h:140
void build(const GameController &controller, const MatchReport &report, const std::optional< ManagedMatchSnapshot > &snapshot, const std::string &home_name, const std::string &away_name)
Definition match_insights_view.cpp:209
int picked_moment
Definition match_insights_view.h:129
int network_side
Definition match_insights_view.h:133
std::vector< MomentRow > moments
Definition match_insights_view.h:126
int hovered_moment
Definition match_insights_view.h:130
std::array< std::string, 2 > names
Definition match_insights_view.h:112
int pressure_top
Definition match_insights_view.h:120
bool has_data
Definition match_insights_view.h:110
std::vector< std::string > axis_labels
Definition match_insights_view.h:122
std::string shot_note
Definition match_insights_view.h:125
std::array< std::vector< int >, 2 > pressure
Definition match_insights_view.h:119
void renderShotMap(float width)
Definition match_insights_view.cpp:760
std::array< std::vector< StepPoint >, 2 > xg_steps
Definition match_insights_view.h:117
void render(const GUIView *view)
Definition match_insights_view.cpp:525
void renderNetwork(std::size_t side, float width, bool selector)
Definition match_insights_view.cpp:918
std::vector< std::string > bucket_tooltips
Definition match_insights_view.h:121
void renderSummary(float width) const
Definition match_insights_view.cpp:596
std::array< std::vector< HeatChoice >, 2 > heat
Definition match_insights_view.h:134
std::array< std::string, MatchTracking::CELLS > cell_tooltips
Definition match_insights_view.h:139
bool available() const
Definition match_insights_view.h:38
void buildCellTooltips()
Definition match_insights_view.cpp:503
bool has_detail
Definition match_insights_view.h:111
void selectHeat(std::size_t side, std::size_t choice)
Definition match_insights_view.cpp:495
friend class GameFlowTest_GUIFlowLifecycle_Test
Definition match_insights_view.h:43
std::vector< ShotMark > shots
Definition match_insights_view.h:124
void renderTimeline(float width)
Definition match_insights_view.cpp:623
float axis_end
Definition match_insights_view.h:115
std::array< Network, 2 > networks
Definition match_insights_view.h:132
Side side
Definition match_stadium_3d.cpp:389
Kind
Definition match_insights.h:90
Definition match_insights_view.h:94
int most
Definition match_insights_view.h:98
int total
Definition match_insights_view.h:97
std::string label
Definition match_insights_view.h:95
std::array< int, MatchTracking::CELLS > cells
Definition match_insights_view.h:96
Definition match_insights_view.h:61
std::string minute
Definition match_insights_view.h:66
bool home
Definition match_insights_view.h:63
float axis
Definition match_insights_view.h:64
std::string detail
Definition match_insights_view.h:68
int shot
Definition match_insights_view.h:65
std::string text
Definition match_insights_view.h:67
KeyMoment::Kind kind
Definition match_insights_view.h:62
Definition match_insights_view.h:80
std::string tooltip
Definition match_insights_view.h:84
std::size_t a
Definition match_insights_view.h:81
std::size_t b
Definition match_insights_view.h:82
int total
Definition match_insights_view.h:83
Definition match_insights_view.h:71
float y
Definition match_insights_view.h:73
float weight
Definition match_insights_view.h:74
float x
Definition match_insights_view.h:72
std::string label
Definition match_insights_view.h:76
std::string tooltip
Definition match_insights_view.h:77
std::size_t detail_index
Definition match_insights_view.h:75
Definition match_insights_view.h:87
int busiest
Definition match_insights_view.h:90
std::vector< NetworkEdge > edges
Definition match_insights_view.h:89
std::string note
Definition match_insights_view.h:91
std::vector< NetworkNode > nodes
Definition match_insights_view.h:88
Definition match_insights_view.h:46
std::string tooltip
Definition match_insights_view.h:53
bool home
Definition match_insights_view.h:51
float xg
Definition match_insights_view.h:49
bool goal
Definition match_insights_view.h:52
float x
Definition match_insights_view.h:47
float y
Definition match_insights_view.h:48
float axis
Definition match_insights_view.h:50
Definition match_insights_view.h:56
float axis
Definition match_insights_view.h:57
float total
Definition match_insights_view.h:58
Structured summary of a played fixture, persisted per fixture.
Definition match_report.h:93