OpenCPN Partial API docs
Loading...
Searching...
No Matches
s57_ocpn_utils.h
1/***************************************************************************
2 * Copyright (C) 2010 by David S. Register *
3 * Copyright (C) 2024 Alec Leamas *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, see <https://www.gnu.org/licenses/>. *
17 **************************************************************************/
18
25#ifndef S57_OCPN_UTILS_H_GUARD_
26#define S57_OCPN_UTILS_H_GUARD_
27
28#include "chartimg.h"
29#include "chcanv.h"
30#include "ocpn_region.h"
31#include "ocpndc.h"
32#include "s57chart.h"
33#include "viewport.h"
34#include "s52s57.h"
35
36bool s57_ProcessExtendedLightSectors(ChartCanvas *cc,
37 ChartPlugInWrapper *target_plugin_chart,
38 s57chart *Chs57,
39 ListOfObjRazRules *rule_list,
40 std::list<S57Obj *> *pi_rule_list,
41 std::vector<s57Sector_t> &sectorlegs);
42
43void s57_DrawExtendedLightSectors(ocpnDC &temp_dc, ViewPort &VPoint,
44 std::vector<s57Sector_t> &sectorlegs);
45
46void s57_DrawExtendedLightSectorsGL(ocpnDC &temp_dc, ViewPort &VPoint,
47 std::vector<s57Sector_t> &sectorlegs);
48
49#endif // S57_OCPN_UTILS_H_GUARD_
BSB chart management.
Generic Chart canvas base.
ChartCanvas - Main chart display and interaction component.
Definition chcanv.h:157
Wrapper class for plugin-based charts.
Definition chartimg.h:389
ViewPort - Core geographic projection and coordinate transformation engine.
Definition viewport.h:56
Device context class that can use either wxDC or OpenGL for drawing.
Definition ocpndc.h:60
Represents an S57 format electronic navigational chart in OpenCPN.
Definition s57chart.h:90
OpenCPN region handling.
Layer to use wxDC or opengl.
S57 Chart Object.
Geographic projection and coordinate transformations.