Neuralyzer::Plots::PlotTooltipHit
Neuralyzer::Plots::PlotTooltipHit
Result of a tooltip hit test. More…
#include <PlotTooltipManager.hpp>
Public Attributes
| Name | |
|---|---|
| float | world_x |
| float | world_y |
| std::any | user_data Arbitrary payload for widget-specific hit data. |
Detailed Description
struct Neuralyzer::Plots::PlotTooltipHit;Result of a tooltip hit test.
Carries the world coordinates of the hit and an optional user-defined payload for widget-specific data (trial index, series key, etc.).
Public Attributes Documentation
variable world_x
float world_x {0.0f};variable world_y
float world_y {0.0f};variable user_data
std::any user_data;Arbitrary payload for widget-specific hit data.
Use std::any so widgets can attach whatever metadata they need (e.g. trial index, series key, unit name) without the tooltip manager knowing about it.
Updated on 2026-11-13 at 20:25:41 +0000