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

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

#include <CursorData.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 CursorData.h.

Constructor & Destructor Documentation

◆ CursorData()

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

Definition at line 35 of file CursorData.cpp.

◆ ~CursorData()

CursorData::~CursorData ( )
inline

Definition at line 55 of file CursorData.h.

Member Function Documentation

◆ OnCursorTrackTimer()

void CursorData::OnCursorTrackTimer ( wxTimerEvent &  event)
inline

Definition at line 57 of file CursorData.h.

◆ OnMouseEvent()

void CursorData::OnMouseEvent ( wxMouseEvent &  event)
virtual

Reimplemented from CursorDataBase.

Definition at line 771 of file CursorData.cpp.

◆ PopulateTrackingControls()

void CursorData::PopulateTrackingControls ( bool  vertical)

Definition at line 132 of file CursorData.cpp.

◆ ResolveDisplayConflicts()

void CursorData::ResolveDisplayConflicts ( int  Id)

Definition at line 69 of file CursorData.cpp.

◆ UpdateTrackingControls()

void CursorData::UpdateTrackingControls ( void  )

Definition at line 355 of file CursorData.cpp.

Member Data Documentation

◆ m_tCursorTrackTimer

wxTimer CursorData::m_tCursorTrackTimer

Definition at line 63 of file CursorData.h.


The documentation for this class was generated from the following files: