OpenCPN Partial API docs
|
Factory class for creating and managing GRIB data visualizations. More...
#include <GribOverlayFactory.h>
Public Member Functions | |
GRIBOverlayFactory (GRIBUICtrlBar &dlg) | |
void | SetSettings (bool hiDefGraphics, bool GradualColors, bool BarbedArrowHead=true) |
void | SetMessageFont () |
void | SetMessage (wxString message) |
void | SetParentSize (int w, int h) |
void | SetGribTimelineRecordSet (GribTimelineRecordSet *pGribTimelineRecordSet1) |
bool | RenderGribOverlay (wxDC &dc, PlugIn_ViewPort *vp) |
bool | RenderGLGribOverlay (wxGLContext *pcontext, PlugIn_ViewPort *vp) |
void | Reset () |
void | ClearCachedData (void) |
void | ClearCachedLabel (void) |
void | ClearParticles () |
void | DrawMessageZoomOut (PlugIn_ViewPort *vp) |
void | GetGraphicColor (int settings, double val, unsigned char &r, unsigned char &g, unsigned char &b) |
wxColour | GetGraphicColor (int settings, double val) |
Public Attributes | |
GribTimelineRecordSet * | m_pGribTimelineRecordSet |
wxSize | m_ParentSize |
pi_ocpnDC * | m_oDC |
Factory class for creating and managing GRIB data visualizations.
This class is responsible for rendering all GRIB weather data visualizations in OpenCPN. It handles multiple visualization types including wind barbs, isobars, particles, directional arrows, and numeric overlays.
Definition at line 176 of file GribOverlayFactory.h.
GRIBOverlayFactory::GRIBOverlayFactory | ( | GRIBUICtrlBar & | dlg | ) |
Definition at line 205 of file GribOverlayFactory.cpp.
GRIBOverlayFactory::~GRIBOverlayFactory | ( | ) |
Definition at line 360 of file GribOverlayFactory.cpp.
void GRIBOverlayFactory::ClearCachedData | ( | void | ) |
Definition at line 394 of file GribOverlayFactory.cpp.
|
inline |
Definition at line 201 of file GribOverlayFactory.h.
|
inline |
Definition at line 202 of file GribOverlayFactory.h.
wxColour GRIBOverlayFactory::GetGraphicColor | ( | int | settings, |
double | val | ||
) |
Definition at line 1178 of file GribOverlayFactory.cpp.
void GRIBOverlayFactory::GetGraphicColor | ( | int | settings, |
double | val, | ||
unsigned char & | r, | ||
unsigned char & | g, | ||
unsigned char & | b | ||
) |
Definition at line 1097 of file GribOverlayFactory.cpp.
bool GRIBOverlayFactory::RenderGLGribOverlay | ( | wxGLContext * | pcontext, |
PlugIn_ViewPort * | vp | ||
) |
Definition at line 406 of file GribOverlayFactory.cpp.
bool GRIBOverlayFactory::RenderGribOverlay | ( | wxDC & | dc, |
PlugIn_ViewPort * | vp | ||
) |
Definition at line 441 of file GribOverlayFactory.cpp.
void GRIBOverlayFactory::Reset | ( | ) |
Definition at line 369 of file GribOverlayFactory.cpp.
void GRIBOverlayFactory::SetGribTimelineRecordSet | ( | GribTimelineRecordSet * | pGribTimelineRecordSet1 | ) |
Definition at line 388 of file GribOverlayFactory.cpp.
|
inline |
Definition at line 189 of file GribOverlayFactory.h.
void GRIBOverlayFactory::SetMessageFont | ( | ) |
Definition at line 375 of file GribOverlayFactory.cpp.
|
inline |
Definition at line 190 of file GribOverlayFactory.h.
|
inline |
Definition at line 181 of file GribOverlayFactory.h.
pi_ocpnDC* GRIBOverlayFactory::m_oDC |
Definition at line 216 of file GribOverlayFactory.h.
wxSize GRIBOverlayFactory::m_ParentSize |
Definition at line 214 of file GribOverlayFactory.h.
GribTimelineRecordSet* GRIBOverlayFactory::m_pGribTimelineRecordSet |
Definition at line 207 of file GribOverlayFactory.h.