OpenCPN Partial API docs
|
Public Member Functions | |
ChartCanvas (wxFrame *frame, int canvasIndex) | |
void | SetupGlCanvas () |
void | OnKeyDown (wxKeyEvent &event) |
void | OnKeyUp (wxKeyEvent &event) |
void | OnKeyChar (wxKeyEvent &event) |
void | OnPaint (wxPaintEvent &event) |
void | PaintCleanup () |
void | Scroll (int dx, int dy) |
void | OnToolLeftClick (wxCommandEvent &event) |
bool | MouseEventOverlayWindows (wxMouseEvent &event) |
bool | MouseEventChartBar (wxMouseEvent &event) |
bool | MouseEventSetup (wxMouseEvent &event, bool b_handle_dclick=true) |
bool | MouseEventProcessObjects (wxMouseEvent &event) |
bool | MouseEventProcessCanvas (wxMouseEvent &event) |
void | SetCanvasCursor (wxMouseEvent &event) |
void | OnKillFocus (wxFocusEvent &WXUNUSED(event)) |
void | OnSetFocus (wxFocusEvent &WXUNUSED(event)) |
void | PopupMenuHandler (wxCommandEvent &event) |
bool | IsPrimaryCanvas () |
bool | SetUserOwnship () |
double | GetCanvasRangeMeters () |
void | SetCanvasRangeMeters (double range) |
void | EnablePaint (bool b_enable) |
virtual bool | SetCursor (const wxCursor &c) |
virtual void | Refresh (bool eraseBackground=true, const wxRect *rect=(const wxRect *) NULL) |
virtual void | Update () |
void | LostMouseCapture (wxMouseCaptureLostEvent &event) |
void | CancelMouseRoute () |
void | SetDisplaySizeMM (double size) |
double | GetDisplaySizeMM () |
bool | SetVPScale (double sc, bool b_refresh=true) |
bool | SetVPProjection (int projection) |
bool | SetViewPoint (double lat, double lon) |
bool | SetViewPointByCorners (double latSW, double lonSW, double latNE, double lonNE) |
bool | SetViewPoint (double lat, double lon, double scale_ppm, double skew, double rotation, int projection=0, bool b_adjust=true, bool b_refresh=true) |
void | ReloadVP (bool b_adjust=true) |
void | LoadVP (ViewPort &vp, bool b_adjust=true) |
ChartStack * | GetpCurrentStack () |
void | SetGroupIndex (int index, bool autoswitch=false) |
bool | CheckGroup (int igroup) |
void | canvasRefreshGroupIndex (void) |
void | canvasChartsRefresh (int dbi_hint) |
void | CheckGroupValid (bool showMessage=true, bool switchGroup0=true) |
void | UpdateCanvasS52PLIBConfig () |
void | TriggerDeferredFocus () |
void | OnDeferredFocusTimerEvent (wxTimerEvent &event) |
void | OnRouteFinishTimerEvent (wxTimerEvent &event) |
void | ClearS52PLIBStateHash () |
void | SetupCanvasQuiltMode (void) |
void | ApplyCanvasConfig (canvasConfig *pcc) |
bool | SetVPRotation (double angle) |
double | GetVPRotation (void) |
double | GetVPSkew (void) |
double | GetVPTilt (void) |
void | ClearbFollow (void) |
void | SetbFollow (void) |
void | TogglebFollow (void) |
void | JumpToPosition (double lat, double lon, double scale) |
void | SetFirstAuto (bool b_auto) |
void | GetDoubleCanvasPointPix (double rlat, double rlon, wxPoint2DDouble *r) |
void | GetDoubleCanvasPointPixVP (ViewPort &vp, double rlat, double rlon, wxPoint2DDouble *r) |
bool | GetCanvasPointPix (double rlat, double rlon, wxPoint *r) |
bool | GetCanvasPointPixVP (ViewPort &vp, double rlat, double rlon, wxPoint *r) |
void | GetCanvasPixPoint (double x, double y, double &lat, double &lon) |
void | WarpPointerDeferred (int x, int y) |
void | UpdateShips () |
void | UpdateAIS () |
void | UpdateAlerts () |
void | ToggleCPAWarn () |
bool | IsMeasureActive () |
wxBitmap & | GetTideBitmap () |
void | UnlockQuilt () |
void | SetQuiltMode (bool b_quilt) |
bool | GetQuiltMode (void) |
std::vector< int > | GetQuiltIndexArray (void) |
bool | IsQuiltDelta (void) |
void | SetQuiltChartHiLiteIndex (int dbIndex) |
int | GetQuiltReferenceChartIndex (void) |
double | GetBestStartScale (int dbi_hint, const ViewPort &vp) |
void | ConfigureChartBar () |
int | GetNextContextMenuId () |
TCWin * | getTCWin () |
bool | StartTimedMovement (bool stoptimer=true) |
void | DoTimedMovement () |
void | DoMovement (long dt) |
void | StopMovement () |
void | SetColorScheme (ColorScheme cs) |
ColorScheme | GetColorScheme () |
void | CanvasApplyLocale () |
void | RebuildCursors () |
int | GetCanvasWidth () |
int | GetCanvasHeight () |
float | GetVPScale () |
float | GetVPChartScale () |
double | GetCanvasScaleFactor () |
double | GetCanvasTrueScale () |
double | GetAbsoluteMinScalePpm () |
ViewPort & | GetVP () |
ViewPort * | GetpVP () |
void | SetVP (ViewPort &) |
ChartBase * | GetChartAtCursor () |
ChartBase * | GetOverlayChartAtCursor () |
Piano * | GetPiano () |
int | GetPianoHeight () |
bool | isRouteEditing (void) |
bool | isMarkEditing (void) |
GSHHSChart * | GetWorldBackgroundChart () |
void | ResetWorldBackgroundChart () |
void | SetbTCUpdate (bool f) |
bool | GetbTCUpdate () |
void | SetbShowCurrent (bool f) |
bool | GetbShowCurrent () |
void | SetbShowTide (bool f) |
bool | GetbShowTide () |
void | SetShowVisibleSectors (bool val) |
bool | GetShowVisibleSectors () |
double | GetPixPerMM () |
void | SetOwnShipState (ownship_state_t state) |
void | SetCursorStatus (double cursor_lat, double cursor_lon) |
void | GetCursorLatLon (double *lat, double *lon) |
bool | PanCanvas (double dx, double dy) |
void | StopAutoPan (void) |
void | ZoomCanvas (double factor, bool can_zoom_to_cursor=true, bool stoptimer=true) |
void | ZoomCanvasSimple (double factor) |
void | DoZoomCanvas (double factor, bool can_zoom_to_cursor=true) |
void | RotateCanvas (double dir) |
void | DoRotateCanvas (double rotation) |
void | DoTiltCanvas (double tilt) |
void | ShowAISTargetList (void) |
void | ShowGoToPosition (void) |
void | HideGlobalToolbar () |
void | ShowGlobalToolbar () |
ChartBase * | GetLargestScaleQuiltChart () |
ChartBase * | GetFirstQuiltChart () |
ChartBase * | GetNextQuiltChart () |
int | GetQuiltChartCount () |
void | InvalidateAllQuiltPatchs (void) |
void | SetQuiltRefChart (int dbIndex) |
std::vector< int > | GetQuiltCandidatedbIndexArray (bool flag1=true, bool flag2=true) |
std::vector< int > | GetQuiltExtendedStackdbIndexArray () |
std::vector< int > | GetQuiltEclipsedStackdbIndexArray () |
int | GetQuiltRefChartdbIndex (void) |
void | InvalidateQuilt (void) |
double | GetQuiltMaxErrorFactor () |
bool | IsChartQuiltableRef (int db_index) |
bool | IsChartLargeEnoughToRender (ChartBase *chart, ViewPort &vp) |
int | GetCanvasChartNativeScale () |
int | FindClosestCanvasChartdbIndex (int scale) |
void | UpdateCanvasOnGroupChange (void) |
void | SetUpMode (int mode) |
void | ToggleLookahead () |
void | SetShowGPS (bool show) |
void | ShowObjectQueryWindow (int x, int y, float zlat, float zlon) |
void | ShowMarkPropertiesDialog (RoutePoint *markPoint) |
void | ShowRoutePropertiesDialog (wxString title, Route *selected) |
void | ShowTrackPropertiesDialog (Track *selected) |
void | DrawTCWindow (int x, int y, void *pIDX) |
void | UpdateGPSCompassStatusBox (bool b_force_new) |
ocpnCompass * | GetCompass () |
wxColour | GetFogColor () |
void | ShowChartInfoWindow (int x, int dbIndex) |
void | HideChartInfoWindow (void) |
void | StartMeasureRoute () |
void | CancelMeasureRoute () |
bool | DoCanvasUpdate (void) |
void | SelectQuiltRefdbChart (int db_index, bool b_autoscale=true) |
void | SelectQuiltRefChart (int selected_index) |
double | GetBestVPScale (ChartBase *pchart) |
void | selectCanvasChartDisplay (int type, int family) |
void | RemoveChartFromQuilt (int dbIndex) |
void | HandlePianoClick (int selected_index, int selected_dbIndex) |
void | HandlePianoRClick (int x, int y, int selected_index, int selected_dbIndex) |
void | HandlePianoRollover (int selected_index, int selected_dbIndex) |
void | UpdateCanvasControlBar (void) |
void | FormatPianoKeys (void) |
void | PianoPopupMenu (int x, int y, int selected_index, int selected_dbIndex) |
void | OnPianoMenuDisableChart (wxCommandEvent &event) |
void | OnPianoMenuEnableChart (wxCommandEvent &event) |
bool | IsPianoContextMenuActive () |
void | SetCanvasToolbarItemState (int tool_id, bool state) |
bool | DoCanvasCOGSet (void) |
void | UpdateFollowButtonState (void) |
void | ApplyGlobalSettings () |
void | SetShowGPSCompassWindow (bool bshow) |
void | FreezePiano () |
void | ThawPiano () |
void | DrawBlinkObjects (void) |
void | StartRoute (void) |
void | FinishRoute (void) |
void | InvalidateGL () |
void | JaggyCircle (ocpnDC &dc, wxPen pen, int x, int y, int radius) |
bool | CheckEdgePan (int x, int y, bool bdragging, int margin, int delta) |
wxString | FindValidUploadPort () |
int | GetMinAvailableGshhgQuality () |
int | GetMaxAvailableGshhgQuality () |
Route * | GetSelectedRoute () const |
Track * | GetSelectedTrack () const |
RoutePoint * | GetSelectedRoutePoint () const |
ocpnFloatingToolbarDialog * | RequestNewCanvasToolbar (bool bforcenew=true) |
void | UpdateToolbarColorScheme (ColorScheme cs) |
void | SetAISCanvasDisplayStyle (int StyleIndx) |
void | TouchAISToolActive (void) |
void | UpdateAISTBTool (void) |
void | SetToolbarScaleFactor (double scale_factor) |
ocpnFloatingToolbarDialog * | GetToolbar () |
void | SetToolbarConfigString (wxString &config) |
wxString | GetToolbarConfigString () |
void | SetToolbarPosition (wxPoint position) |
wxPoint | GetToolbarPosition () |
void | SetToolbarOrientation (long orient) |
long | GetToolbarOrientation () |
void | SubmergeToolbar (void) |
void | SurfaceToolbar (void) |
void | ToggleToolbar (bool b_smooth=false) |
bool | IsToolbarShown () |
void | DestroyToolbar () |
void | SelectChartFromStack (int index, bool bDir=false, ChartTypeEnum New_Type=CHART_TYPE_DONTCARE, ChartFamilyEnum New_Family=CHART_FAMILY_DONTCARE) |
void | SelectdbChart (int dbindex) |
void | ShowTides (bool bShow) |
void | ShowCurrents (bool bShow) |
void | DoCanvasStackDelta (int direction) |
void | ProcessNewGUIScale () |
bool | GetShowDepthUnits () |
void | SetShowDepthUnits (bool show) |
bool | GetShowGrid () |
void | SetShowGrid (bool show) |
bool | GetShowOutlines () |
void | SetShowOutlines (bool show) |
bool | GetShowChartbar () |
bool | GetToolbarEnable () |
void | SetToolbarEnable (bool show) |
wxRect | GetMUIBarRect () |
void | SetMUIBarPosition () |
void | DestroyMuiBar () |
void | CreateMUIBar () |
void | ToggleChartOutlines (void) |
void | ToggleCanvasQuiltMode (void) |
wxString | GetScaleText () |
double | GetScaleValue () |
bool | GetShowENCText () |
void | SetShowENCText (bool show) |
bool | GetShowENCDepth () |
void | SetShowENCDepth (bool show) |
bool | GetShowENCLightDesc () |
void | SetShowENCLightDesc (bool show) |
bool | GetShowENCBuoyLabels () |
void | SetShowENCBuoyLabels (bool show) |
bool | GetShowENCLights () |
void | SetShowENCLights (bool show) |
int | GetENCDisplayCategory () |
void | SetENCDisplayCategory (int category) |
bool | GetShowENCAnchor () |
void | SetShowENCAnchor (bool show) |
bool | GetShowENCDataQual () |
void | SetShowENCDataQual (bool show) |
int | GetUpMode () |
bool | GetLookahead () |
bool | GetShowAIS () |
void | SetShowAIS (bool show) |
bool | GetAttenAIS () |
void | SetAttenAIS (bool show) |
MUIBar * | GetMUIBar () |
void | SetAlertString (wxString str) |
wxString | GetAlertString () |
wxRect | GetScaleBarRect () |
void | RenderAlertMessage (wxDC &dc, const ViewPort &vp) |
bool | IsTileOverlayIndexInYesShow (int index) |
bool | IsTileOverlayIndexInNoShow (int index) |
void | AddTileOverlayIndexToNoShow (int index) |
std::vector< int > | GetQuiltNoshowIindexArray () |
double | GetDisplayScale () |
Public Attributes | |
bool | m_bFollow |
wxCursor * | pCursorPencil |
wxCursor * | pCursorArrow |
wxCursor * | pCursorCross |
wxCursor * | pPlugIn_Cursor |
TCWin * | pCwin |
wxBitmap * | pscratch_bm |
bool | m_brepaint_piano |
double | m_cursor_lon |
double | m_cursor_lat |
Undo * | undo |
wxPoint | r_rband |
double | m_prev_rlat |
double | m_prev_rlon |
RoutePoint * | m_prev_pMousePoint |
Quilt * | m_pQuilt |
bool | m_bShowNavobjects |
int | m_canvasIndex |
int | m_groupIndex |
int | m_routeState |
ChartBase * | m_singleChart |
int | m_upMode |
bool | m_bLookAhead |
double | m_VPRotate |
Route * | m_pMouseRoute |
bool | m_FinishRouteOnKillFocus |
bool | m_bMeasure_Active |
bool | m_bMeasure_DistCircle |
wxString | m_active_upload_port |
bool | m_bAppendingRoute |
int | m_nMeasureState |
Route * | m_pMeasureRoute |
MyFrame * | parent_frame |
CanvasMenuHandler * | m_canvasMenu |
bool | m_b_paint_enable |
std::vector< int > | m_tile_noshow_index_array |
std::vector< int > | m_tile_yesshow_index_array |
std::vector< int > | m_quilt_noshow_index_array |
Friends | |
class | glChartCanvas |
ChartCanvas::ChartCanvas | ( | wxFrame * | frame, |
int | canvasIndex | ||
) |
Definition at line 405 of file chcanv.cpp.
ChartCanvas::~ChartCanvas | ( | ) |
Definition at line 828 of file chcanv.cpp.
void ChartCanvas::AddTileOverlayIndexToNoShow | ( | int | index | ) |
Definition at line 13369 of file chcanv.cpp.
void ChartCanvas::ApplyCanvasConfig | ( | canvasConfig * | pcc | ) |
Definition at line 1181 of file chcanv.cpp.
void ChartCanvas::ApplyGlobalSettings | ( | ) |
Definition at line 1230 of file chcanv.cpp.
void ChartCanvas::CancelMeasureRoute | ( | ) |
Definition at line 2603 of file chcanv.cpp.
void ChartCanvas::CancelMouseRoute | ( | ) |
Definition at line 11441 of file chcanv.cpp.
void ChartCanvas::CanvasApplyLocale | ( | ) |
Definition at line 976 of file chcanv.cpp.
void ChartCanvas::canvasChartsRefresh | ( | int | dbi_hint | ) |
Definition at line 1484 of file chcanv.cpp.
void ChartCanvas::canvasRefreshGroupIndex | ( | void | ) |
Definition at line 1362 of file chcanv.cpp.
bool ChartCanvas::CheckEdgePan | ( | int | x, |
int | y, | ||
bool | bdragging, | ||
int | margin, | ||
int | delta | ||
) |
Definition at line 6793 of file chcanv.cpp.
bool ChartCanvas::CheckGroup | ( | int | igroup | ) |
Definition at line 1450 of file chcanv.cpp.
void ChartCanvas::CheckGroupValid | ( | bool | showMessage = true , |
bool | switchGroup0 = true |
||
) |
Definition at line 1239 of file chcanv.cpp.
void ChartCanvas::ClearbFollow | ( | void | ) |
Definition at line 4629 of file chcanv.cpp.
void ChartCanvas::ConfigureChartBar | ( | ) |
Definition at line 1283 of file chcanv.cpp.
void ChartCanvas::CreateMUIBar | ( | ) |
Definition at line 6666 of file chcanv.cpp.
void ChartCanvas::DestroyMuiBar | ( | ) |
Definition at line 6713 of file chcanv.cpp.
void ChartCanvas::DestroyToolbar | ( | ) |
Definition at line 12967 of file chcanv.cpp.
bool ChartCanvas::DoCanvasCOGSet | ( | void | ) |
Definition at line 3374 of file chcanv.cpp.
void ChartCanvas::DoCanvasStackDelta | ( | int | direction | ) |
Definition at line 12767 of file chcanv.cpp.
bool ChartCanvas::DoCanvasUpdate | ( | void | ) |
Definition at line 1554 of file chcanv.cpp.
void ChartCanvas::DoMovement | ( | long | dt | ) |
Definition at line 3455 of file chcanv.cpp.
void ChartCanvas::DoRotateCanvas | ( | double | rotation | ) |
Definition at line 4602 of file chcanv.cpp.
void ChartCanvas::DoTiltCanvas | ( | double | tilt | ) |
Definition at line 4612 of file chcanv.cpp.
void ChartCanvas::DoTimedMovement | ( | ) |
Definition at line 3437 of file chcanv.cpp.
void ChartCanvas::DoZoomCanvas | ( | double | factor, |
bool | can_zoom_to_cursor = true |
||
) |
Definition at line 4439 of file chcanv.cpp.
void ChartCanvas::DrawBlinkObjects | ( | void | ) |
Definition at line 11996 of file chcanv.cpp.
void ChartCanvas::DrawTCWindow | ( | int | x, |
int | y, | ||
void * | pIDX | ||
) |
Definition at line 12614 of file chcanv.cpp.
void ChartCanvas::EnablePaint | ( | bool | b_enable | ) |
Definition at line 2506 of file chcanv.cpp.
int ChartCanvas::FindClosestCanvasChartdbIndex | ( | int | scale | ) |
Definition at line 2472 of file chcanv.cpp.
wxString ChartCanvas::FindValidUploadPort | ( | ) |
Definition at line 12658 of file chcanv.cpp.
void ChartCanvas::FinishRoute | ( | void | ) |
Definition at line 10020 of file chcanv.cpp.
void ChartCanvas::FormatPianoKeys | ( | void | ) |
Definition at line 13655 of file chcanv.cpp.
double ChartCanvas::GetBestStartScale | ( | int | dbi_hint, |
const ViewPort & | vp | ||
) |
Definition at line 4852 of file chcanv.cpp.
double ChartCanvas::GetBestVPScale | ( | ChartBase * | pchart | ) |
Definition at line 2022 of file chcanv.cpp.
int ChartCanvas::GetCanvasChartNativeScale | ( | ) |
Definition at line 2441 of file chcanv.cpp.
void ChartCanvas::GetCanvasPixPoint | ( | double | x, |
double | y, | ||
double & | lat, | ||
double & | lon | ||
) |
Definition at line 4358 of file chcanv.cpp.
bool ChartCanvas::GetCanvasPointPix | ( | double | rlat, |
double | rlon, | ||
wxPoint * | r | ||
) |
Definition at line 4333 of file chcanv.cpp.
bool ChartCanvas::GetCanvasPointPixVP | ( | ViewPort & | vp, |
double | rlat, | ||
double | rlon, | ||
wxPoint * | r | ||
) |
Definition at line 4337 of file chcanv.cpp.
double ChartCanvas::GetCanvasRangeMeters | ( | ) |
Definition at line 2236 of file chcanv.cpp.
ChartBase * ChartCanvas::GetChartAtCursor | ( | ) |
Definition at line 2451 of file chcanv.cpp.
|
inline |
void ChartCanvas::GetCursorLatLon | ( | double * | lat, |
double * | lon | ||
) |
Definition at line 4271 of file chcanv.cpp.
void ChartCanvas::GetDoubleCanvasPointPix | ( | double | rlat, |
double | rlon, | ||
wxPoint2DDouble * | r | ||
) |
Definition at line 4278 of file chcanv.cpp.
void ChartCanvas::GetDoubleCanvasPointPixVP | ( | ViewPort & | vp, |
double | rlat, | ||
double | rlon, | ||
wxPoint2DDouble * | r | ||
) |
Definition at line 4283 of file chcanv.cpp.
ChartBase * ChartCanvas::GetFirstQuiltChart | ( | ) |
Definition at line 2541 of file chcanv.cpp.
ChartBase * ChartCanvas::GetLargestScaleQuiltChart | ( | ) |
Definition at line 2537 of file chcanv.cpp.
wxRect ChartCanvas::GetMUIBarRect | ( | ) |
Definition at line 13858 of file chcanv.cpp.
int ChartCanvas::GetNextContextMenuId | ( | ) |
Definition at line 11447 of file chcanv.cpp.
ChartBase * ChartCanvas::GetNextQuiltChart | ( | ) |
Definition at line 2545 of file chcanv.cpp.
ChartBase * ChartCanvas::GetOverlayChartAtCursor | ( | ) |
Definition at line 2462 of file chcanv.cpp.
|
inline |
int ChartCanvas::GetPianoHeight | ( | ) |
Definition at line 1276 of file chcanv.cpp.
std::vector< int > ChartCanvas::GetQuiltCandidatedbIndexArray | ( | bool | flag1 = true , |
bool | flag2 = true |
||
) |
Definition at line 2553 of file chcanv.cpp.
int ChartCanvas::GetQuiltChartCount | ( | ) |
Definition at line 2547 of file chcanv.cpp.
std::vector< int > ChartCanvas::GetQuiltEclipsedStackdbIndexArray | ( | ) |
Definition at line 2566 of file chcanv.cpp.
std::vector< int > ChartCanvas::GetQuiltExtendedStackdbIndexArray | ( | ) |
Definition at line 2562 of file chcanv.cpp.
std::vector< int > ChartCanvas::GetQuiltIndexArray | ( | void | ) |
Definition at line 2517 of file chcanv.cpp.
double ChartCanvas::GetQuiltMaxErrorFactor | ( | ) |
Definition at line 2572 of file chcanv.cpp.
bool ChartCanvas::GetQuiltMode | ( | void | ) |
Definition at line 2527 of file chcanv.cpp.
|
inline |
int ChartCanvas::GetQuiltRefChartdbIndex | ( | void | ) |
Definition at line 2558 of file chcanv.cpp.
int ChartCanvas::GetQuiltReferenceChartIndex | ( | void | ) |
Definition at line 2529 of file chcanv.cpp.
|
inline |
|
inline |
long ChartCanvas::GetToolbarOrientation | ( | ) |
Definition at line 12935 of file chcanv.cpp.
wxPoint ChartCanvas::GetToolbarPosition | ( | ) |
Definition at line 12926 of file chcanv.cpp.
ViewPort & ChartCanvas::GetVP | ( | ) |
Definition at line 2614 of file chcanv.cpp.
|
inline |
void ChartCanvas::HandlePianoClick | ( | int | selected_index, |
int | selected_dbIndex | ||
) |
Definition at line 13383 of file chcanv.cpp.
void ChartCanvas::HandlePianoRClick | ( | int | x, |
int | y, | ||
int | selected_index, | ||
int | selected_dbIndex | ||
) |
Definition at line 13498 of file chcanv.cpp.
void ChartCanvas::HandlePianoRollover | ( | int | selected_index, |
int | selected_dbIndex | ||
) |
Definition at line 13510 of file chcanv.cpp.
void ChartCanvas::HideChartInfoWindow | ( | void | ) |
Definition at line 6766 of file chcanv.cpp.
void ChartCanvas::HideGlobalToolbar | ( | ) |
Definition at line 10072 of file chcanv.cpp.
void ChartCanvas::InvalidateAllQuiltPatchs | ( | void | ) |
Definition at line 2533 of file chcanv.cpp.
void ChartCanvas::InvalidateGL | ( | ) |
Definition at line 2433 of file chcanv.cpp.
void ChartCanvas::InvalidateQuilt | ( | void | ) |
Definition at line 2570 of file chcanv.cpp.
Definition at line 2580 of file chcanv.cpp.
bool ChartCanvas::IsChartQuiltableRef | ( | int | db_index | ) |
Definition at line 2576 of file chcanv.cpp.
bool ChartCanvas::IsQuiltDelta | ( | void | ) |
Definition at line 2513 of file chcanv.cpp.
bool ChartCanvas::IsTileOverlayIndexInNoShow | ( | int | index | ) |
Definition at line 13363 of file chcanv.cpp.
bool ChartCanvas::IsTileOverlayIndexInYesShow | ( | int | index | ) |
Definition at line 13357 of file chcanv.cpp.
bool ChartCanvas::IsToolbarShown | ( | ) |
Definition at line 12950 of file chcanv.cpp.
void ChartCanvas::JaggyCircle | ( | ocpnDC & | dc, |
wxPen | pen, | ||
int | x, | ||
int | y, | ||
int | radius | ||
) |
Definition at line 6304 of file chcanv.cpp.
void ChartCanvas::JumpToPosition | ( | double | lat, |
double | lon, | ||
double | scale | ||
) |
Definition at line 4688 of file chcanv.cpp.
void ChartCanvas::LoadVP | ( | ViewPort & | vp, |
bool | b_adjust = true |
||
) |
Definition at line 4817 of file chcanv.cpp.
void ChartCanvas::LostMouseCapture | ( | wxMouseCaptureLostEvent & | event | ) |
Definition at line 9390 of file chcanv.cpp.
bool ChartCanvas::MouseEventChartBar | ( | wxMouseEvent & | event | ) |
Definition at line 6935 of file chcanv.cpp.
bool ChartCanvas::MouseEventOverlayWindows | ( | wxMouseEvent & | event | ) |
Definition at line 6919 of file chcanv.cpp.
bool ChartCanvas::MouseEventProcessCanvas | ( | wxMouseEvent & | event | ) |
Definition at line 9216 of file chcanv.cpp.
bool ChartCanvas::MouseEventProcessObjects | ( | wxMouseEvent & | event | ) |
Definition at line 7473 of file chcanv.cpp.
bool ChartCanvas::MouseEventSetup | ( | wxMouseEvent & | event, |
bool | b_handle_dclick = true |
||
) |
g_btouch
Definition at line 6945 of file chcanv.cpp.
void ChartCanvas::OnDeferredFocusTimerEvent | ( | wxTimerEvent & | event | ) |
Definition at line 2640 of file chcanv.cpp.
void ChartCanvas::OnKeyChar | ( | wxKeyEvent & | event | ) |
Definition at line 2645 of file chcanv.cpp.
void ChartCanvas::OnKeyDown | ( | wxKeyEvent & | event | ) |
Definition at line 2674 of file chcanv.cpp.
void ChartCanvas::OnKeyUp | ( | wxKeyEvent & | event | ) |
Definition at line 3238 of file chcanv.cpp.
void ChartCanvas::OnKillFocus | ( | wxFocusEvent & | WXUNUSEDevent | ) |
Definition at line 1056 of file chcanv.cpp.
void ChartCanvas::OnPaint | ( | wxPaintEvent & | event | ) |
Definition at line 10644 of file chcanv.cpp.
void ChartCanvas::OnPianoMenuDisableChart | ( | wxCommandEvent & | event | ) |
Definition at line 13719 of file chcanv.cpp.
void ChartCanvas::OnPianoMenuEnableChart | ( | wxCommandEvent & | event | ) |
Definition at line 13708 of file chcanv.cpp.
void ChartCanvas::OnRouteFinishTimerEvent | ( | wxTimerEvent & | event | ) |
Definition at line 1089 of file chcanv.cpp.
void ChartCanvas::OnSetFocus | ( | wxFocusEvent & | WXUNUSEDevent | ) |
Definition at line 1079 of file chcanv.cpp.
void ChartCanvas::OnToolLeftClick | ( | wxCommandEvent & | event | ) |
Definition at line 12849 of file chcanv.cpp.
void ChartCanvas::PaintCleanup | ( | ) |
Definition at line 11300 of file chcanv.cpp.
bool ChartCanvas::PanCanvas | ( | double | dx, |
double | dy | ||
) |
Definition at line 4720 of file chcanv.cpp.
void ChartCanvas::PianoPopupMenu | ( | int | x, |
int | y, | ||
int | selected_index, | ||
int | selected_dbIndex | ||
) |
Definition at line 13657 of file chcanv.cpp.
void ChartCanvas::PopupMenuHandler | ( | wxCommandEvent & | event | ) |
Definition at line 9991 of file chcanv.cpp.
void ChartCanvas::ProcessNewGUIScale | ( | ) |
Definition at line 6658 of file chcanv.cpp.
void ChartCanvas::RebuildCursors | ( | ) |
Definition at line 900 of file chcanv.cpp.
|
virtual |
Definition at line 11460 of file chcanv.cpp.
void ChartCanvas::ReloadVP | ( | bool | b_adjust = true | ) |
Definition at line 4811 of file chcanv.cpp.
void ChartCanvas::RemoveChartFromQuilt | ( | int | dbIndex | ) |
Definition at line 13759 of file chcanv.cpp.
void ChartCanvas::RenderAlertMessage | ( | wxDC & | dc, |
const ViewPort & | vp | ||
) |
Definition at line 13867 of file chcanv.cpp.
ocpnFloatingToolbarDialog * ChartCanvas::RequestNewCanvasToolbar | ( | bool | bforcenew = true | ) |
Definition at line 12971 of file chcanv.cpp.
void ChartCanvas::RotateCanvas | ( | double | dir | ) |
Definition at line 4587 of file chcanv.cpp.
void ChartCanvas::selectCanvasChartDisplay | ( | int | type, |
int | family | ||
) |
Definition at line 13298 of file chcanv.cpp.
void ChartCanvas::SelectChartFromStack | ( | int | index, |
bool | bDir = false , |
||
ChartTypeEnum | New_Type = CHART_TYPE_DONTCARE , |
||
ChartFamilyEnum | New_Family = CHART_FAMILY_DONTCARE |
||
) |
Definition at line 13198 of file chcanv.cpp.
void ChartCanvas::SelectdbChart | ( | int | dbindex | ) |
Definition at line 13255 of file chcanv.cpp.
void ChartCanvas::SelectQuiltRefChart | ( | int | selected_index | ) |
Definition at line 2014 of file chcanv.cpp.
void ChartCanvas::SelectQuiltRefdbChart | ( | int | db_index, |
bool | b_autoscale = true |
||
) |
Definition at line 1997 of file chcanv.cpp.
void ChartCanvas::SetAISCanvasDisplayStyle | ( | int | StyleIndx | ) |
Definition at line 13023 of file chcanv.cpp.
void ChartCanvas::SetAttenAIS | ( | bool | show | ) |
Definition at line 13017 of file chcanv.cpp.
void ChartCanvas::SetbFollow | ( | void | ) |
Definition at line 4642 of file chcanv.cpp.
void ChartCanvas::SetCanvasCursor | ( | wxMouseEvent & | event | ) |
Definition at line 9361 of file chcanv.cpp.
void ChartCanvas::SetCanvasRangeMeters | ( | double | range | ) |
Definition at line 2246 of file chcanv.cpp.
void ChartCanvas::SetCanvasToolbarItemState | ( | int | tool_id, |
bool | state | ||
) |
Definition at line 13004 of file chcanv.cpp.
void ChartCanvas::SetColorScheme | ( | ColorScheme | cs | ) |
Definition at line 3531 of file chcanv.cpp.
|
virtual |
Definition at line 11451 of file chcanv.cpp.
void ChartCanvas::SetCursorStatus | ( | double | cursor_lat, |
double | cursor_lon | ||
) |
Definition at line 4137 of file chcanv.cpp.
void ChartCanvas::SetDisplaySizeMM | ( | double | size | ) |
Definition at line 2371 of file chcanv.cpp.
void ChartCanvas::SetENCDisplayCategory | ( | int | category | ) |
Definition at line 13816 of file chcanv.cpp.
void ChartCanvas::SetGroupIndex | ( | int | index, |
bool | autoswitch = false |
||
) |
Definition at line 1364 of file chcanv.cpp.
void ChartCanvas::SetMUIBarPosition | ( | ) |
Definition at line 6687 of file chcanv.cpp.
|
inline |
void ChartCanvas::SetQuiltChartHiLiteIndex | ( | int | dbIndex | ) |
Definition at line 2549 of file chcanv.cpp.
void ChartCanvas::SetQuiltMode | ( | bool | b_quilt | ) |
Definition at line 2522 of file chcanv.cpp.
void ChartCanvas::SetQuiltRefChart | ( | int | dbIndex | ) |
Definition at line 4846 of file chcanv.cpp.
void ChartCanvas::SetShowAIS | ( | bool | show | ) |
Definition at line 13011 of file chcanv.cpp.
void ChartCanvas::SetShowENCAnchor | ( | bool | show | ) |
Definition at line 13850 of file chcanv.cpp.
void ChartCanvas::SetShowENCBuoyLabels | ( | bool | show | ) |
Definition at line 13837 of file chcanv.cpp.
void ChartCanvas::SetShowENCDataQual | ( | bool | show | ) |
Definition at line 13800 of file chcanv.cpp.
void ChartCanvas::SetShowENCDepth | ( | bool | show | ) |
Definition at line 13821 of file chcanv.cpp.
void ChartCanvas::SetShowENCLightDesc | ( | bool | show | ) |
Definition at line 13829 of file chcanv.cpp.
void ChartCanvas::SetShowENCLights | ( | bool | show | ) |
Definition at line 13842 of file chcanv.cpp.
void ChartCanvas::SetShowENCText | ( | bool | show | ) |
Definition at line 13808 of file chcanv.cpp.
void ChartCanvas::SetShowGPS | ( | bool | show | ) |
Definition at line 1247 of file chcanv.cpp.
void ChartCanvas::SetShowGPSCompassWindow | ( | bool | bshow | ) |
Definition at line 1257 of file chcanv.cpp.
|
inline |
void ChartCanvas::SetToolbarEnable | ( | bool | show | ) |
Definition at line 1264 of file chcanv.cpp.
void ChartCanvas::SetToolbarOrientation | ( | long | orient | ) |
Definition at line 12922 of file chcanv.cpp.
void ChartCanvas::SetToolbarPosition | ( | wxPoint | position | ) |
Definition at line 12918 of file chcanv.cpp.
|
inline |
void ChartCanvas::SetupCanvasQuiltMode | ( | void | ) |
Definition at line 2067 of file chcanv.cpp.
void ChartCanvas::SetupGlCanvas | ( | ) |
Definition at line 981 of file chcanv.cpp.
void ChartCanvas::SetUpMode | ( | int | mode | ) |
Definition at line 3347 of file chcanv.cpp.
bool ChartCanvas::SetUserOwnship | ( | ) |
Definition at line 2255 of file chcanv.cpp.
bool ChartCanvas::SetViewPoint | ( | double | lat, |
double | lon | ||
) |
Definition at line 4983 of file chcanv.cpp.
bool ChartCanvas::SetViewPoint | ( | double | lat, |
double | lon, | ||
double | scale_ppm, | ||
double | skew, | ||
double | rotation, | ||
int | projection = 0 , |
||
bool | b_adjust = true , |
||
bool | b_refresh = true |
||
) |
Definition at line 4993 of file chcanv.cpp.
bool ChartCanvas::SetViewPointByCorners | ( | double | latSW, |
double | lonSW, | ||
double | latNE, | ||
double | lonNE | ||
) |
Definition at line 4946 of file chcanv.cpp.
void ChartCanvas::SetVP | ( | ViewPort & | vp | ) |
Definition at line 2616 of file chcanv.cpp.
bool ChartCanvas::SetVPProjection | ( | int | projection | ) |
Definition at line 4969 of file chcanv.cpp.
bool ChartCanvas::SetVPRotation | ( | double | angle | ) |
Definition at line 4988 of file chcanv.cpp.
bool ChartCanvas::SetVPScale | ( | double | sc, |
bool | b_refresh = true |
||
) |
Definition at line 4964 of file chcanv.cpp.
void ChartCanvas::ShowAISTargetList | ( | void | ) |
Definition at line 10084 of file chcanv.cpp.
void ChartCanvas::ShowChartInfoWindow | ( | int | x, |
int | dbIndex | ||
) |
Definition at line 6720 of file chcanv.cpp.
void ChartCanvas::ShowCurrents | ( | bool | bShow | ) |
Definition at line 1327 of file chcanv.cpp.
void ChartCanvas::ShowGlobalToolbar | ( | ) |
Definition at line 10078 of file chcanv.cpp.
void ChartCanvas::ShowMarkPropertiesDialog | ( | RoutePoint * | markPoint | ) |
Definition at line 9640 of file chcanv.cpp.
void ChartCanvas::ShowObjectQueryWindow | ( | int | x, |
int | y, | ||
float | zlat, | ||
float | zlon | ||
) |
Definition at line 9394 of file chcanv.cpp.
void ChartCanvas::ShowRoutePropertiesDialog | ( | wxString | title, |
Route * | selected | ||
) |
Definition at line 9695 of file chcanv.cpp.
void ChartCanvas::ShowTides | ( | bool | bShow | ) |
Definition at line 1297 of file chcanv.cpp.
void ChartCanvas::ShowTrackPropertiesDialog | ( | Track * | selected | ) |
Definition at line 9739 of file chcanv.cpp.
void ChartCanvas::StartMeasureRoute | ( | ) |
Definition at line 2586 of file chcanv.cpp.
void ChartCanvas::StartRoute | ( | void | ) |
Definition at line 10000 of file chcanv.cpp.
bool ChartCanvas::StartTimedMovement | ( | bool | stoptimer = true | ) |
Definition at line 3412 of file chcanv.cpp.
void ChartCanvas::StopMovement | ( | ) |
Definition at line 3394 of file chcanv.cpp.
void ChartCanvas::SubmergeToolbar | ( | void | ) |
Definition at line 12942 of file chcanv.cpp.
void ChartCanvas::SurfaceToolbar | ( | void | ) |
Definition at line 12946 of file chcanv.cpp.
void ChartCanvas::TogglebFollow | ( | void | ) |
Definition at line 4622 of file chcanv.cpp.
void ChartCanvas::ToggleCanvasQuiltMode | ( | void | ) |
Definition at line 12741 of file chcanv.cpp.
void ChartCanvas::ToggleChartOutlines | ( | void | ) |
Definition at line 3330 of file chcanv.cpp.
void ChartCanvas::ToggleCPAWarn | ( | ) |
Definition at line 6558 of file chcanv.cpp.
void ChartCanvas::ToggleLookahead | ( | ) |
Definition at line 3341 of file chcanv.cpp.
void ChartCanvas::ToggleToolbar | ( | bool | b_smooth = false | ) |
Definition at line 12956 of file chcanv.cpp.
void ChartCanvas::TouchAISToolActive | ( | void | ) |
Definition at line 13074 of file chcanv.cpp.
void ChartCanvas::TriggerDeferredFocus | ( | ) |
Definition at line 2624 of file chcanv.cpp.
void ChartCanvas::UnlockQuilt | ( | ) |
Definition at line 2515 of file chcanv.cpp.
|
virtual |
Definition at line 11513 of file chcanv.cpp.
void ChartCanvas::UpdateAIS | ( | ) |
Definition at line 6496 of file chcanv.cpp.
void ChartCanvas::UpdateAISTBTool | ( | void | ) |
Definition at line 13100 of file chcanv.cpp.
void ChartCanvas::UpdateAlerts | ( | ) |
Definition at line 6446 of file chcanv.cpp.
void ChartCanvas::UpdateCanvasControlBar | ( | void | ) |
Definition at line 13546 of file chcanv.cpp.
void ChartCanvas::UpdateCanvasOnGroupChange | ( | void | ) |
Definition at line 4932 of file chcanv.cpp.
void ChartCanvas::UpdateCanvasS52PLIBConfig | ( | ) |
Definition at line 10564 of file chcanv.cpp.
void ChartCanvas::UpdateFollowButtonState | ( | void | ) |
Definition at line 4664 of file chcanv.cpp.
void ChartCanvas::UpdateGPSCompassStatusBox | ( | bool | b_force_new | ) |
Definition at line 13148 of file chcanv.cpp.
void ChartCanvas::UpdateShips | ( | ) |
Definition at line 6400 of file chcanv.cpp.
void ChartCanvas::UpdateToolbarColorScheme | ( | ColorScheme | cs | ) |
Definition at line 12978 of file chcanv.cpp.
void ChartCanvas::WarpPointerDeferred | ( | int | x, |
int | y | ||
) |
Definition at line 10556 of file chcanv.cpp.
void ChartCanvas::ZoomCanvas | ( | double | factor, |
bool | can_zoom_to_cursor = true , |
||
bool | stoptimer = true |
||
) |
Definition at line 4419 of file chcanv.cpp.
void ChartCanvas::ZoomCanvasSimple | ( | double | factor | ) |
Definition at line 4414 of file chcanv.cpp.
|
friend |
CanvasMenuHandler* ChartCanvas::m_canvasMenu |
RoutePoint* ChartCanvas::m_prev_pMousePoint |