OpenCPN Partial API docs
Loading...
Searching...
No Matches
ShapeBaseChartSet Class Reference

Manages a set of ShapeBaseChart objects at different resolutions. More...

#include <shapefile_basemap.h>

Public Member Functions

void SetBasemapLandColor (wxColor color)
 
wxColor GetBasemapLandColor ()
 
void RenderViewOnDC (ocpnDC &dc, ViewPort &vp)
 
ShapeBaseChartSelectBaseMap (const size_t &scale)
 
bool IsUsable ()
 
bool CrossesLand (double lat1, double lon1, double lat2, double lon2)
 
void Cleanup ()
 
void Reset ()
 

Static Public Member Functions

static wxPoint2DDouble GetDoublePixFromLL (ViewPort &vp, double lat, double lon)
 

Detailed Description

Manages a set of ShapeBaseChart objects at different resolutions.

Maintains multiple basemap charts at varying quality levels and scales. Handles selection of the appropriate chart based on the current view scale.

Definition at line 187 of file shapefile_basemap.h.

Constructor & Destructor Documentation

◆ ShapeBaseChartSet()

ShapeBaseChartSet::ShapeBaseChartSet ( )

Definition at line 133 of file shapefile_basemap.cpp.

◆ ~ShapeBaseChartSet()

ShapeBaseChartSet::~ShapeBaseChartSet ( )
inline

Definition at line 190 of file shapefile_basemap.h.

Member Function Documentation

◆ Cleanup()

void ShapeBaseChartSet::Cleanup ( )
inline

Definition at line 211 of file shapefile_basemap.h.

◆ CrossesLand()

bool ShapeBaseChartSet::CrossesLand ( double  lat1,
double  lon1,
double  lat2,
double  lon2 
)
inline

Definition at line 204 of file shapefile_basemap.h.

◆ GetBasemapLandColor()

wxColor ShapeBaseChartSet::GetBasemapLandColor ( )

Definition at line 139 of file shapefile_basemap.cpp.

◆ GetDoublePixFromLL()

wxPoint2DDouble ShapeBaseChartSet::GetDoublePixFromLL ( ViewPort vp,
double  lat,
double  lon 
)
static

Definition at line 141 of file shapefile_basemap.cpp.

◆ IsUsable()

bool ShapeBaseChartSet::IsUsable ( )
inline

Definition at line 200 of file shapefile_basemap.h.

◆ RenderViewOnDC()

void ShapeBaseChartSet::RenderViewOnDC ( ocpnDC dc,
ViewPort vp 
)

Definition at line 629 of file shapefile_basemap.cpp.

◆ Reset()

void ShapeBaseChartSet::Reset ( )

Definition at line 201 of file shapefile_basemap.cpp.

◆ SelectBaseMap()

ShapeBaseChart & ShapeBaseChartSet::SelectBaseMap ( const size_t &  scale)

Definition at line 180 of file shapefile_basemap.cpp.

◆ SetBasemapLandColor()

void ShapeBaseChartSet::SetBasemapLandColor ( wxColor  color)

Definition at line 136 of file shapefile_basemap.cpp.


The documentation for this class was generated from the following files: