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

S57 Chart Object. More...

#include <memory>
#include <unordered_map>
#include <wx/wx.h>
#include <wx/dir.h>
#include <wx/dynarray.h>
#include <wx/filename.h>
#include <wx/stream.h>
#include <wx/wfstream.h>
#include "gdal/ogrsf_frmts.h"
#include "model/gui_vars.h"
#include "chartbase.h"
#include "chartimg.h"
#include "ocpn_pixel.h"
#include "ocpn_region.h"
#include "ogr_s57.h"
#include "s52s57.h"
#include "s57.h"
#include "s57_light.h"
#include "s57_object_desc.h"
#include "s57_sector.h"
#include "viewport.h"

Go to the source code of this file.

Classes

class  s57chart
 Represents an S57 format electronic navigational chart in OpenCPN. More...
 

Enumerations

enum  { BUILD_SENC_OK , BUILD_SENC_NOK_RETRY , BUILD_SENC_NOK_PERMANENT , BUILD_SENC_PENDING }
 

Functions

 WX_DECLARE_OBJARRAY (S57Obj, ArrayOfS57Obj)
 
bool s57_CheckExtendedLightSectors (ChartCanvas *cc, int mx, int my, ViewPort &VPoint, std::vector< s57Sector_t > &sectorlegs)
 
bool s57_GetVisibleLightSectors (ChartCanvas *cc, double lat, double lon, ViewPort &viewport, std::vector< s57Sector_t > &sectorlegs)
 

Variables

bool chain_broken_mssage_shown
 Global instance.
 

Detailed Description

S57 Chart Object.

Definition in file s57chart.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Definition at line 57 of file s57chart.h.

Function Documentation

◆ s57_CheckExtendedLightSectors()

bool s57_CheckExtendedLightSectors ( ChartCanvas cc,
int  mx,
int  my,
ViewPort VPoint,
std::vector< s57Sector_t > &  sectorlegs 
)

Definition at line 665 of file s57_ocpn_utils.cpp.

◆ s57_GetVisibleLightSectors()

bool s57_GetVisibleLightSectors ( ChartCanvas cc,
double  lat,
double  lon,
ViewPort viewport,
std::vector< s57Sector_t > &  sectorlegs 
)

Definition at line 34 of file s57_ocpn_utils.cpp.