OpenCPN Partial API docs
|
Public Member Functions | |
wmm_pi (void *ppimgr) | |
int | Init (void) |
bool | DeInit (void) |
int | GetAPIVersionMajor () |
int | GetAPIVersionMinor () |
int | GetPlugInVersionMajor () |
int | GetPlugInVersionMinor () |
wxBitmap * | GetPlugInBitmap () |
FIXME static wxBitmap* LoadSVG(const wxString filename, unsigned int width,
unsigned int height) { if (!gFrame) return new wxBitmap(width, height); // We are headless. | |
wxString | GetCommonName () |
wxString | GetShortDescription () |
wxString | GetLongDescription () |
void | SetCursorLatLon (double lat, double lon) |
void | SetPositionFix (PlugIn_Position_Fix &pfix) |
void | RenderOverlayBoth (pi_ocpnDC *dc, PlugIn_ViewPort *vp) |
bool | RenderOverlay (wxDC &dc, PlugIn_ViewPort *vp) |
bool | RenderGLOverlay (wxGLContext *pcontext, PlugIn_ViewPort *vp) |
void | RecomputePlot () |
int | GetToolbarToolCount (void) |
void | ShowPreferencesDialog (wxWindow *parent) |
void | ShowPlotSettingsDialog (wxCommandEvent &event) |
void | OnToolbarToolCallback (int id) |
void | SetColorScheme (PI_ColorScheme cs) |
void | SetPluginMessage (wxString &message_id, wxString &message_body) |
void | SetShowPlot (bool showplot) |
void | SetWmmDialogX (int x) |
void | SetWmmDialogY (int x) |
void | OnWmmDialogClose () |
void | ShowPlotSettings () |
![]() | |
opencpn_plugin_18 (void *pmgr) | |
virtual void | SetPositionFixEx (PlugIn_Position_Fix_Ex &pfix) |
virtual bool | RenderOverlay (wxMemoryDC *pmdc, PlugIn_ViewPort *vp) |
![]() | |
opencpn_plugin (void *pmgr) | |
virtual void | SetDefaults (void) |
virtual int | GetToolboxPanelCount (void) |
virtual void | SetupToolboxPanel (int page_sel, wxNotebook *pnotebook) |
virtual void | OnCloseToolboxPanel (int page_sel, int ok_apply_cancel) |
virtual void | SetCurrentViewPort (PlugIn_ViewPort &vp) |
virtual void | SetNMEASentence (wxString &sentence) |
Receive all NMEA 0183 sentences from OpenCPN. | |
virtual void | SetAISSentence (wxString &sentence) |
Receive all AIS sentences from OpenCPN. | |
virtual void | ProcessParentResize (int x, int y) |
virtual void | OnContextMenuItemCallback (int id) |
virtual void | UpdateAuiStatus (void) |
virtual wxArrayString | GetDynamicChartClassNameArray (void) |
wmm_pi::wmm_pi | ( | void * | ppimgr | ) |
Definition at line 114 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 235 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 269 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 271 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 279 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 285 of file wmm_pi.cpp.
|
virtual |
FIXME static wxBitmap* LoadSVG(const wxString filename, unsigned int width, unsigned int height) { if (!gFrame) return new wxBitmap(width, height); // We are headless.
#ifdef ANDROID return loadAndroidSVG(filename, width, height); #elif defined(ocpnUSE_SVG) wxSVGDocument svgDoc; if (svgDoc.Load(filename)) return new wxBitmap(svgDoc.Render(width, height, NULL, true, true)); else return new wxBitmap(width, height); #else return new wxBitmap(width, height); #endif }
wxBitmap* opencpn_plugin::GetPlugInBitmap() { auto bitmap = PluginLoader::getInstance()->GetPluginDefaultIcon(); return const_cast<wxBitmap*>(bitmap); }
Reimplemented from opencpn_plugin.
Definition at line 277 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 273 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 275 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 281 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 297 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 130 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 362 of file wmm_pi.cpp.
void wmm_pi::RecomputePlot | ( | ) |
Definition at line 453 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin_18.
Definition at line 414 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin_18.
Definition at line 401 of file wmm_pi.cpp.
void wmm_pi::RenderOverlayBoth | ( | pi_ocpnDC * | dc, |
PlugIn_ViewPort * | vp | ||
) |
Definition at line 393 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 299 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 470 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin_18.
Definition at line 668 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 527 of file wmm_pi.cpp.
void wmm_pi::ShowPlotSettings | ( | ) |
dialog->m_dpDate->SetValue(m_MapDate);
m_MapDate = dialog->m_dpDate->GetValue();
Definition at line 907 of file wmm_pi.cpp.
|
virtual |
Reimplemented from opencpn_plugin.
Definition at line 877 of file wmm_pi.cpp.
MAGtype_CoordGeodetic wmm_pi::CoordGeodetic |
MAGtype_CoordSpherical wmm_pi::CoordSpherical |
MAGtype_Ellipsoid wmm_pi::Ellip |
MAGtype_Geoid wmm_pi::Geoid |
MAGtype_GeoMagneticElements wmm_pi::GeoMagneticElements |
WmmUIDialog* wmm_pi::m_pWmmDialog |
MAGtype_MagneticModel* wmm_pi::MagneticModel |
MAGtype_MagneticModel* wmm_pi::MagneticModels[1] |
MAGtype_MagneticModel * wmm_pi::TimedMagneticModel |
MAGtype_Date wmm_pi::UserDate |