Skip to main content

DataViewer::InteractionContext

DataViewer::InteractionContext

Context information needed for coordinate conversions.

#include <DataViewerInteractionManager.hpp>

Public Functions

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

Public Attributes

Name
CorePlotting::ViewStateData const * view_state
CorePlotting::RenderableScene const * scene
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 scene

CorePlotting::RenderableScene const  * scene {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