OpenCPN Partial API docs
|
Dialog showing GRIB data in a table format. More...
#include <GribTable.h>
Public Member Functions | |
GRIBTable (GRIBUICtrlBar &parent) | |
void | InitGribTable (int zone, ArrayOfGribRecordSets *rsa) |
Initialize the GRIB data table. | |
void | InitGribTable (int zone, 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 () |
![]() | |
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) | |
Additional Inherited Members | |
![]() | |
CustomGrid * | m_pGribTable |
wxButton * | m_pButtonTableOK |
int | m_pIndex |
![]() | |
virtual void | OnClick (wxGridEvent &event) |
virtual void | OnRangeClick (wxGridRangeSelectEvent &event) |
![]() | |
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 71 of file GribTable.h.
GRIBTable::GRIBTable | ( | GRIBUICtrlBar & | parent | ) |
Definition at line 41 of file GribTable.cpp.
|
inline |
Definition at line 75 of file GribTable.h.
void GRIBTable::CloseDialog | ( | ) |
Definition at line 322 of file GribTable.cpp.
|
inline |
Definition at line 93 of file GribTable.h.
void GRIBTable::InitGribTable | ( | int | zone, |
ArrayOfGribRecordSets * | rsa | ||
) |
Initialize the GRIB data table.
zone | Time zone for displaying timestamps (0=local, 1=UTC) |
rsa | Array of GRIB record sets containing the weather data |
NowIndex | Index of the current time point to highlight |
void GRIBTable::InitGribTable | ( | int | zone, |
ArrayOfGribRecordSets * | rsa, | ||
int | NowIndex | ||
) |
Definition at line 44 of file GribTable.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 253 of file GribTable.cpp.