OpenCPN Partial API docs
Loading...
Searching...
No Matches
grib_pi.h File Reference

GRIB Weather Data Plugin for OpenCPN. More...

#include "wx/wxprec.h"
#include "wx/wx.h"
#include <wx/glcanvas.h>
#include "ocpn_plugin.h"
#include "wx/jsonreader.h"
#include "wx/jsonwriter.h"
#include "GribSettingsDialog.h"
#include "GribOverlayFactory.h"
#include "GribUIDialog.h"

Go to the source code of this file.

Classes

class  grib_pi
 
class  GribPreferencesDialog
 

Macros

#define PLUGIN_VERSION_MAJOR   5
 
#define PLUGIN_VERSION_MINOR   0
 
#define MY_API_VERSION_MAJOR   1
 
#define MY_API_VERSION_MINOR   16
 
#define GRIB_TOOL_POSITION   -1
 
#define STARTING_STATE_STYLE   9999
 
#define ATTACHED   0
 
#define SEPARATED   1
 
#define ATTACHED_HAS_CAPTION   0
 
#define ATTACHED_NO_CAPTION   1
 
#define SEPARATED_HORIZONTAL   2
 
#define SEPARATED_VERTICAL   3
 

Enumerations

enum  SettingsDisplay {
  B_ARROWS , ISO_LINE , ISO_ABBR , ISO_LINE_SHORT ,
  ISO_LINE_VISI , D_ARROWS , OVERLAY , NUMBERS ,
  PARTICLES
}
 

Detailed Description

GRIB Weather Data Plugin for OpenCPN.

Primary plugin interface for the GRIB weather data visualization system. This plugin enables OpenCPN to display weather forecasts from GRIB files, providing mariners with critical meteorological data including:

  • Wind speed and direction
  • Pressure systems and isobars
  • Wave height, direction and period
  • Precipitation and cloud cover
  • Temperature and humidity

The plugin supports both GRIB1 and GRIB2 file formats, allows temporal interpolation between forecast times, and provides various visualization options including wind barbs, particle animations, and color-coded overlays.

Definition in file grib_pi.h.

Macro Definition Documentation

◆ ATTACHED

#define ATTACHED   0

Definition at line 69 of file grib_pi.h.

◆ ATTACHED_HAS_CAPTION

#define ATTACHED_HAS_CAPTION   0

Definition at line 71 of file grib_pi.h.

◆ ATTACHED_NO_CAPTION

#define ATTACHED_NO_CAPTION   1

Definition at line 72 of file grib_pi.h.

◆ GRIB_TOOL_POSITION

#define GRIB_TOOL_POSITION   -1

Definition at line 67 of file grib_pi.h.

◆ MY_API_VERSION_MAJOR

#define MY_API_VERSION_MAJOR   1

Definition at line 49 of file grib_pi.h.

◆ MY_API_VERSION_MINOR

#define MY_API_VERSION_MINOR   16

Definition at line 50 of file grib_pi.h.

◆ PLUGIN_VERSION_MAJOR

#define PLUGIN_VERSION_MAJOR   5

Definition at line 46 of file grib_pi.h.

◆ PLUGIN_VERSION_MINOR

#define PLUGIN_VERSION_MINOR   0

Definition at line 47 of file grib_pi.h.

◆ SEPARATED

#define SEPARATED   1

Definition at line 70 of file grib_pi.h.

◆ SEPARATED_HORIZONTAL

#define SEPARATED_HORIZONTAL   2

Definition at line 73 of file grib_pi.h.

◆ SEPARATED_VERTICAL

#define SEPARATED_VERTICAL   3

Definition at line 74 of file grib_pi.h.

◆ STARTING_STATE_STYLE

#define STARTING_STATE_STYLE   9999

Definition at line 68 of file grib_pi.h.

Enumeration Type Documentation

◆ SettingsDisplay

enum SettingsDisplay

Definition at line 76 of file grib_pi.h.