OpenCPN Partial API docs
|
Encapsulates persistent canvas configuration. More...
#include <CanvasConfig.h>
Public Member Functions | |
canvasConfig (int index) | |
void | Reset () |
Resets all configuration options to default values. | |
void | LoadFromLegacyConfig (wxFileConfig *conf) |
Public Attributes | |
int | configIndex |
ChartCanvas * | canvas |
Pointer to associated chart canvas. | |
double | iLat |
Latitude of the center of the chart, in degrees. | |
double | iLon |
Longitude of the center of the chart, in degrees. | |
double | iScale |
Initial chart scale factor. | |
double | iRotation |
Initial rotation angle in radians. | |
int | DBindex |
int | GroupID |
bool | bFollow |
Enable vessel following mode. | |
bool | bQuilt |
Enable chart quilting. | |
bool | bShowTides |
Display tide information. | |
bool | bShowCurrents |
Display current information. | |
wxSize | canvasSize |
Canvas dimensions. | |
bool | bShowGrid |
Display coordinate grid. | |
bool | bShowOutlines |
Display chart outlines. | |
bool | bShowDepthUnits |
Display depth unit indicators. | |
bool | bCourseUp |
Orient display to course up. | |
bool | bHeadUp |
Orient display to heading up. | |
bool | bLookahead |
Enable lookahead mode. | |
bool | bShowAIS |
Display AIS targets. | |
bool | bAttenAIS |
Enable AIS target attenuation. | |
bool | bShowENCText |
Display ENC text elements. | |
int | nENCDisplayCategory |
bool | bShowENCDepths |
bool | bShowENCBuoyLabels |
bool | bShowENCLightDescriptions |
bool | bShowENCLights |
bool | bShowENCVisibleSectorLights |
bool | bShowENCAnchorInfo |
bool | bShowENCDataQuality |
Encapsulates persistent canvas configuration.
Stores various settings for a chart canvas, including position, scale, rotation, and display options for different chart elements.
Definition at line 45 of file CanvasConfig.h.
canvasConfig::canvasConfig | ( | int | index | ) |
Definition at line 42 of file CanvasConfig.cpp.
canvasConfig::~canvasConfig | ( | ) |
Definition at line 52 of file CanvasConfig.cpp.
void canvasConfig::LoadFromLegacyConfig | ( | wxFileConfig * | conf | ) |
Definition at line 67 of file CanvasConfig.cpp.
void canvasConfig::Reset | ( | void | ) |
Resets all configuration options to default values.
Initializes follow mode, tides, currents, orientation modes, and AIS settings.
Definition at line 54 of file CanvasConfig.cpp.
bool canvasConfig::bAttenAIS |
Enable AIS target attenuation.
Definition at line 80 of file CanvasConfig.h.
bool canvasConfig::bCourseUp |
Orient display to course up.
Definition at line 76 of file CanvasConfig.h.
bool canvasConfig::bFollow |
Enable vessel following mode.
Definition at line 68 of file CanvasConfig.h.
bool canvasConfig::bHeadUp |
Orient display to heading up.
Definition at line 77 of file CanvasConfig.h.
bool canvasConfig::bLookahead |
Enable lookahead mode.
Definition at line 78 of file CanvasConfig.h.
bool canvasConfig::bQuilt |
Enable chart quilting.
Definition at line 69 of file CanvasConfig.h.
bool canvasConfig::bShowAIS |
Display AIS targets.
Definition at line 79 of file CanvasConfig.h.
bool canvasConfig::bShowCurrents |
Display current information.
Definition at line 71 of file CanvasConfig.h.
bool canvasConfig::bShowDepthUnits |
Display depth unit indicators.
Definition at line 75 of file CanvasConfig.h.
bool canvasConfig::bShowENCAnchorInfo |
Definition at line 89 of file CanvasConfig.h.
bool canvasConfig::bShowENCBuoyLabels |
Definition at line 85 of file CanvasConfig.h.
bool canvasConfig::bShowENCDataQuality |
Definition at line 90 of file CanvasConfig.h.
bool canvasConfig::bShowENCDepths |
Definition at line 84 of file CanvasConfig.h.
bool canvasConfig::bShowENCLightDescriptions |
Definition at line 86 of file CanvasConfig.h.
bool canvasConfig::bShowENCLights |
Definition at line 87 of file CanvasConfig.h.
bool canvasConfig::bShowENCText |
Display ENC text elements.
Definition at line 82 of file CanvasConfig.h.
bool canvasConfig::bShowENCVisibleSectorLights |
Definition at line 88 of file CanvasConfig.h.
bool canvasConfig::bShowGrid |
Display coordinate grid.
Definition at line 73 of file CanvasConfig.h.
bool canvasConfig::bShowOutlines |
Display chart outlines.
Definition at line 74 of file CanvasConfig.h.
bool canvasConfig::bShowTides |
Display tide information.
Definition at line 70 of file CanvasConfig.h.
ChartCanvas* canvasConfig::canvas |
Pointer to associated chart canvas.
Definition at line 61 of file CanvasConfig.h.
wxSize canvasConfig::canvasSize |
Canvas dimensions.
Definition at line 72 of file CanvasConfig.h.
int canvasConfig::configIndex |
Definition at line 60 of file CanvasConfig.h.
int canvasConfig::DBindex |
Definition at line 66 of file CanvasConfig.h.
int canvasConfig::GroupID |
Definition at line 67 of file CanvasConfig.h.
double canvasConfig::iLat |
Latitude of the center of the chart, in degrees.
Definition at line 62 of file CanvasConfig.h.
double canvasConfig::iLon |
Longitude of the center of the chart, in degrees.
Definition at line 63 of file CanvasConfig.h.
double canvasConfig::iRotation |
Initial rotation angle in radians.
Definition at line 65 of file CanvasConfig.h.
double canvasConfig::iScale |
Initial chart scale factor.
Definition at line 64 of file CanvasConfig.h.
int canvasConfig::nENCDisplayCategory |
Definition at line 83 of file CanvasConfig.h.