OpenCPN Partial API docs
|
Represents a basemap chart based on shapefile data. More...
#include <shapefile_basemap.h>
Public Member Functions | |
ShapeBaseChart (const std::string &filename, const size_t &min_scale, const wxColor &color= *wxBLACK) | |
ShapeBaseChart (const ShapeBaseChart &t) | |
void | SetColor (wxColor color) |
bool | LoadSHP () |
bool | IsUsable () |
size_t | MinScale () |
void | RenderViewOnDC (ocpnDC &dc, ViewPort &vp) |
bool | CrossesLand (double &lat1, double &lon1, double &lat2, double &lon2) |
void | CancelLoading () |
Cancel the chart loading operation. | |
Static Public Member Functions | |
static const std::string | ConstructPath (const std::string &dir, const std::string &quality_suffix) |
Public Attributes | |
int | _dmod |
Represents a basemap chart based on shapefile data.
Handles loading and rendering of shapefile-based basemap charts. Supports different quality levels and provides methods for drawing filled polygons.
Definition at line 103 of file shapefile_basemap.h.
|
inline |
Definition at line 106 of file shapefile_basemap.h.
|
inline |
Definition at line 119 of file shapefile_basemap.h.
|
inline |
Definition at line 129 of file shapefile_basemap.h.
void ShapeBaseChart::CancelLoading | ( | ) |
Cancel the chart loading operation.
Definition at line 562 of file shapefile_basemap.cpp.
|
inlinestatic |
Definition at line 142 of file shapefile_basemap.h.
bool ShapeBaseChart::CrossesLand | ( | double & | lat1, |
double & | lon1, | ||
double & | lat2, | ||
double & | lon2 | ||
) |
Definition at line 524 of file shapefile_basemap.cpp.
|
inline |
Definition at line 139 of file shapefile_basemap.h.
bool ShapeBaseChart::LoadSHP | ( | ) |
Definition at line 252 of file shapefile_basemap.cpp.
|
inline |
Definition at line 140 of file shapefile_basemap.h.
Definition at line 141 of file shapefile_basemap.h.
|
inline |
Definition at line 134 of file shapefile_basemap.h.
int ShapeBaseChart::_dmod |
Definition at line 136 of file shapefile_basemap.h.