Skip to main content

DataViewer::InputContext

DataViewer::InputContext

Context information needed by the input handler for coordinate transforms.

#include <DataViewerInputHandler.hpp>

Public Functions

Name
DataViewerCoordinates makeCoordinates() const
Create a DataViewerCoordinates instance from this context.

Public Attributes

Name
CorePlotting::ViewStateData const * view_state
CorePlotting::LayoutResponse const * layout_response
CorePlotting::RenderableScene const * scene
std::unordered_set< EntityId > const * selected_entities
std::map< size_t, std::string > const * rectangle_batch_key_map
TimeFrame const * master_time_frame
int widget_width
int widget_height

Public Functions Documentation

function makeCoordinates

inline DataViewerCoordinates makeCoordinates() const

Create a DataViewerCoordinates instance from this context.

Return: DataViewerCoordinates configured with current view state and dimensions

Public Attributes Documentation

variable view_state

CorePlotting::ViewStateData const  * view_state {nullptr};

variable layout_response

CorePlotting::LayoutResponse const  * layout_response {nullptr};

variable scene

CorePlotting::RenderableScene const  * scene {nullptr};

variable selected_entities

std::unordered_set< EntityId > const  * selected_entities {nullptr};

variable rectangle_batch_key_map

std::map< size_t, std::string > const  * rectangle_batch_key_map {nullptr};

variable master_time_frame

TimeFrame const  * master_time_frame {nullptr};

variable widget_width

int widget_width {0};

variable widget_height

int widget_height {0};

Updated on 2026-11-13 at 20:25:42 +0000