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, write to the *
17 * Free Software Foundation, Inc., *
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
19 **************************************************************************/
20
23#ifndef S57_OCPN_UTILS_H_GUARD__
24#define S57_OCPN_UTILS_H_GUARD__
25
26#include "OCPNRegion.h"
27#include "ocpndc.h"
28#include "s57chart.h"
29
30bool s57_ProcessExtendedLightSectors(ChartCanvas *cc,
31 ChartPlugInWrapper *target_plugin_chart,
32 s57chart *Chs57,
33 ListOfObjRazRules *rule_list,
34 std::list<S57Obj *> *pi_rule_list,
35 std::vector<s57Sector_t> &sectorlegs);
36
37void s57_DrawExtendedLightSectors(ocpnDC &temp_dc, ViewPort &VPoint,
38 std::vector<s57Sector_t> &sectorlegs);
39
40void s57_DrawExtendedLightSectorsGL(ocpnDC &temp_dc, ViewPort &VPoint,
41 std::vector<s57Sector_t> &sectorlegs);
42
43#endif // S57_OCPN_UTILS_H_GUARD__
Chart display canvas.
Definition chcanv.h:135
Wrapper class for plugin-based charts.
Definition chartimg.h:392
Represents the view port for chart display in OpenCPN.
Definition viewport.h:84
Device context class that can use either wxDC or OpenGL for drawing.
Definition ocpndc.h:64
Represents an S57 format electronic navigational chart in OpenCPN.
Definition s57chart.h:120