|
OpenCPN Partial API docs
|
Dialog showing GRIB data in a table format. More...
#include <grib_table.h>
Public Member Functions | |
| GRIBTable (GRIBUICtrlBar &parent) | |
| void | InitGribTable (ArrayOfGribRecordSets *rsa) |
| Initialize the GRIB data table. | |
| void | InitGribTable (ArrayOfGribRecordSets *rsa, int NowIndex) |
| void | SetTableSizePosition (int vpWidth, int vpHeight) |
| Set the table size and position relative to viewport. | |
| wxBitmap | GetScaledBitmap (wxBitmap bmp, wxString svgfile, double scfactor) |
| void | CloseDialog () |
Public Member Functions inherited from GRIBTableBase | |
| GRIBTableBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Grib Data Table"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1, -1), long style=wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER) | |
Protected Member Functions | |
| void | OnClose (wxCloseEvent &event) override |
| void | OnOKButton (wxCommandEvent &event) override |
Protected Member Functions inherited from GRIBTableBase | |
| virtual void | OnClick (wxGridEvent &event) |
| virtual void | OnRangeClick (wxGridRangeSelectEvent &event) |
Additional Inherited Members | |
Public Attributes inherited from GRIBTableBase | |
| CustomGrid * | m_pGribTable |
| wxButton * | m_pButtonTableOK |
| int | m_pIndex |
Protected Attributes inherited from GRIBTableBase | |
| wxStaticText * | m_pPositionText |
| wxStaticText * | m_pCursorPosition |
Dialog showing GRIB data in a table format.
Displays meteorological data from GRIB files in a grid layout, with columns representing different time points and rows showing various parameters like wind, pressure, waves etc. The data shown corresponds to the current cursor position on the chart.
Definition at line 70 of file grib_table.h.
| GRIBTable::GRIBTable | ( | GRIBUICtrlBar & | parent | ) |
Definition at line 42 of file grib_table.cpp.
|
inlineoverride |
Definition at line 74 of file grib_table.h.
| void GRIBTable::CloseDialog | ( | ) |
Definition at line 321 of file grib_table.cpp.
|
inline |
Definition at line 91 of file grib_table.h.
| void GRIBTable::InitGribTable | ( | ArrayOfGribRecordSets * | rsa | ) |
Initialize the GRIB data table.
| rsa | Array of GRIB record sets containing the weather data. |
| NowIndex | Index of the current time point to highlight. |
| void GRIBTable::InitGribTable | ( | ArrayOfGribRecordSets * | rsa, |
| int | NowIndex | ||
| ) |
Definition at line 45 of file grib_table.cpp.
|
overrideprotectedvirtual |
Reimplemented from GRIBTableBase.
Definition at line 311 of file grib_table.cpp.
|
overrideprotectedvirtual |
Reimplemented from GRIBTableBase.
Definition at line 316 of file grib_table.cpp.
| void GRIBTable::SetTableSizePosition | ( | int | vpWidth, |
| int | vpHeight | ||
| ) |
Set the table size and position relative to viewport.
| vpWidth | Viewport width |
| vpHeight | Viewport height |
Definition at line 252 of file grib_table.cpp.