OpenCPN Partial API docs
Loading...
Searching...
No Matches
CursorData Class Reference

Tracks and displays GRIB meteorological data at cursor position. More...

#include <cursor_data.h>

Inheritance diagram for CursorData:
CursorDataBase

Public Member Functions

 CursorData (wxWindow *window, GRIBUICtrlBar &parent)
void OnCursorTrackTimer (wxTimerEvent &event)
void PopulateTrackingControls (bool vertical)
void UpdateTrackingControls ()
void ResolveDisplayConflicts (int Id)
void OnMouseEvent (wxMouseEvent &event)
Public Member Functions inherited from CursorDataBase
 CursorDataBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1, -1), long style=wxNO_BORDER|wxTAB_TRAVERSAL)

Public Attributes

wxTimer m_tCursorTrackTimer
Public Attributes inherited from CursorDataBase
wxCheckBox * m_cbWind
wxCheckBox * m_cbWindGust
wxCheckBox * m_cbPressure
wxCheckBox * m_cbWave
wxCheckBox * m_cbCurrent
wxCheckBox * m_cbPrecipitation
wxCheckBox * m_cbCloud
wxCheckBox * m_cbAirTemperature
wxCheckBox * m_cbSeaTemperature
wxCheckBox * m_cbCAPE
wxCheckBox * m_cbReflC

Additional Inherited Members

Protected Attributes inherited from CursorDataBase
wxFlexGridSizer * fgSizer30
wxStaticText * m_stTrackingText
wxFlexGridSizer * m_fgTrackingControls
wxTextCtrl * m_tcWindSpeed
wxTextCtrl * m_tcWindSpeedBf
wxTextCtrl * m_tcWindDirection
wxTextCtrl * m_tcWindGust
wxTextCtrl * m_tcPressure
wxTextCtrl * m_tcWaveHeight
wxTextCtrl * m_tcWavePeriode
wxTextCtrl * m_tcWaveDirection
wxTextCtrl * m_tcCurrentVelocity
wxTextCtrl * m_tcCurrentDirection
wxTextCtrl * m_tcPrecipitation
wxTextCtrl * m_tcCloud
wxTextCtrl * m_tcAirTemperature
wxTextCtrl * m_tcSeaTemperature
wxTextCtrl * m_tcCAPE
wxTextCtrl * m_tcReflC
wxCheckBox * m_cbAltitude
wxTextCtrl * m_tcAltitude
wxCheckBox * m_cbTemp
wxTextCtrl * m_tcTemp
wxCheckBox * m_cbRelHumid
wxTextCtrl * m_tcRelHumid

Detailed Description

Tracks and displays GRIB meteorological data at cursor position.

Display various meteorological parameters (wind, pressure, waves, etc.) at the current cursor position on the chart. Manages data display controls and handles user interactions for display preferences.

Definition at line 52 of file cursor_data.h.

Constructor & Destructor Documentation

◆ CursorData()

CursorData::CursorData ( wxWindow * window,
GRIBUICtrlBar & parent )

Definition at line 33 of file cursor_data.cpp.

◆ ~CursorData()

CursorData::~CursorData ( )
inline

Definition at line 55 of file cursor_data.h.

Member Function Documentation

◆ OnCursorTrackTimer()

void CursorData::OnCursorTrackTimer ( wxTimerEvent & event)
inline

Definition at line 57 of file cursor_data.h.

◆ OnMouseEvent()

void CursorData::OnMouseEvent ( wxMouseEvent & event)
virtual

Reimplemented from CursorDataBase.

Definition at line 769 of file cursor_data.cpp.

◆ PopulateTrackingControls()

void CursorData::PopulateTrackingControls ( bool vertical)

Definition at line 130 of file cursor_data.cpp.

◆ ResolveDisplayConflicts()

void CursorData::ResolveDisplayConflicts ( int Id)

Definition at line 67 of file cursor_data.cpp.

◆ UpdateTrackingControls()

void CursorData::UpdateTrackingControls ( )

Definition at line 352 of file cursor_data.cpp.

Member Data Documentation

◆ m_tCursorTrackTimer

wxTimer CursorData::m_tCursorTrackTimer

Definition at line 63 of file cursor_data.h.


The documentation for this class was generated from the following files:
  • /home/runner/work/main/main/opencpn/plugins/grib_pi/src/cursor_data.h
  • /home/runner/work/main/main/opencpn/plugins/grib_pi/src/cursor_data.cpp