OpenCPN Partial API docs
|
Public Member Functions | |
RoutePoint (double lat, double lon, const wxString &icon_ident, const wxString &name, const wxString &pGUID=wxEmptyString, bool bAddToList=true) | |
RoutePoint (RoutePoint *orig) | |
void | ReLoadIcon () |
void | SetPosition (double lat, double lon) |
double | GetLatitude () |
double | GetLongitude () |
LLBBox & | GetBBox () |
bool | IsSame (RoutePoint *pOtherRP) |
bool | IsVisible () |
bool | IsListed () |
bool | IsNameShown () |
bool | IsShared () |
void | SetShared (bool bshared) |
bool | IsSharedInVisibleRoute (void) |
bool | IsVisibleSelectable (double scale_val, bool boverrideViz=false) |
void | SetVisible (bool viz=true) |
void | SetListed (bool viz=true) |
void | SetNameShown (bool viz=true) |
bool | GetNameShown () |
virtual wxString | GetName (void) |
wxString | GetDescription (void) |
wxDateTime | GetCreateTime (void) |
void | SetCreateTime (wxDateTime dt) |
wxString | GetIconName (void) |
void | SetIconName (wxString name) |
void * | GetSelectNode (void) |
void | SetSelectNode (void *node) |
void * | GetManagerListNode (void) |
void | SetManagerListNode (void *node) |
void | SetName (const wxString &name) |
void | CalculateNameExtents (void) |
void | SetCourse (double course) |
double | GetCourse () |
void | SetDistance (double distance) |
double | GetDistance () |
void | SetWaypointArrivalRadius (double dArrivalDistance) |
void | SetWaypointArrivalRadius (wxString wxArrivalDistance) |
double | GetWaypointArrivalRadius () |
bool | GetShowWaypointRangeRings (void) |
int | GetWaypointRangeRingsNumber (void) |
float | GetWaypointRangeRingsStep (void) |
int | GetWaypointRangeRingsStepUnits (void) |
wxColour | GetWaypointRangeRingsColour (void) |
void | SetShowWaypointRangeRings (bool b_showWaypointRangeRings) |
void | SetWaypointRangeRingsNumber (int i_WaypointRangeRingsNumber) |
void | SetWaypointRangeRingsStep (float f_WaypointRangeRingsStep) |
void | SetWaypointRangeRingsStepUnits (int i_WaypointRangeRingsStepUnits) |
void | SetWaypointRangeRingsColour (wxColour wxc_WaypointRangeRingsColour) |
void | SetScaMin (wxString str) |
void | SetScaMin (long val) |
long | GetScaMin () |
void | SetScaMax (wxString str) |
void | SetScaMax (long val) |
long | GetScaMax () |
bool | GetUseSca () |
void | SetUseSca (bool value) |
bool | IsDragHandleEnabled () |
void | SetPlannedSpeed (double spd) |
double | GetPlannedSpeed () |
wxDateTime | GetETD () |
wxDateTime | GetManualETD () |
void | SetETD (const wxDateTime &etd) |
bool | SetETD (const wxString &ts) |
wxDateTime | GetETA () |
wxString | GetETE () |
void | SetETE (wxLongLong secs) |
Public Attributes | |
double | m_lat |
double | m_lon |
double | m_seg_len |
double | m_seg_vmg |
wxDateTime | m_seg_etd |
wxDateTime | m_seg_eta |
wxLongLong | m_seg_ete = 0 |
bool | m_manual_etd {false} |
bool | m_bPtIsSelected |
bool | m_bRPIsBeingEdited |
bool | m_bIsInRoute |
bool | m_bIsolatedMark |
bool | m_bIsVisible |
bool | m_bIsListed |
bool | m_bIsActive |
bool | m_IconIsDirty |
wxString | m_MarkDescription |
wxString | m_GUID |
wxString | m_TideStation |
wxFont * | m_pMarkFont |
wxColour | m_FontColor |
wxSize | m_NameExtents |
bool | m_bBlink |
bool | m_bDynamicName |
bool | m_bShowName |
bool | m_bShowNameData |
wxRect | CurrentRect_in_DC |
int | m_NameLocationOffsetX |
int | m_NameLocationOffsetY |
bool | m_bIsInLayer |
int | m_LayerID |
double | m_routeprop_course |
double | m_routeprop_distance |
bool | m_btemp |
bool | m_bShowWaypointRangeRings |
int | m_iWaypointRangeRingsNumber |
float | m_fWaypointRangeRingsStep |
int | m_iWaypointRangeRingsStepUnits |
wxColour | m_wxcWaypointRangeRingsColour |
double | m_WaypointArrivalRadius |
HyperlinkList * | m_HyperlinkList |
wxString | m_timestring |
wxDateTime | m_CreateTimeX |
Friends | |
class | RoutePointGui |
Definition at line 48 of file route_point.h.
RoutePoint::RoutePoint | ( | double | lat, |
double | lon, | ||
const wxString & | icon_ident, | ||
const wxString & | name, | ||
const wxString & | pGUID = wxEmptyString , |
||
bool | bAddToList = true |
||
) |
Definition at line 190 of file route_point.cpp.
RoutePoint::RoutePoint | ( | RoutePoint * | orig | ) |
Definition at line 133 of file route_point.cpp.
RoutePoint::RoutePoint | ( | ) |
Definition at line 65 of file route_point.cpp.
|
virtual |
Definition at line 280 of file route_point.cpp.
void RoutePoint::CalculateNameExtents | ( | void | ) |
Definition at line 313 of file route_point.cpp.
|
inline |
Definition at line 63 of file route_point.h.
|
inline |
Definition at line 99 of file route_point.h.
wxDateTime RoutePoint::GetCreateTime | ( | void | ) |
Definition at line 293 of file route_point.cpp.
|
inline |
Definition at line 81 of file route_point.h.
|
inline |
Definition at line 101 of file route_point.h.
wxDateTime RoutePoint::GetETA | ( | ) |
Definition at line 517 of file route_point.cpp.
wxDateTime RoutePoint::GetETD | ( | ) |
Definition at line 468 of file route_point.cpp.
wxString RoutePoint::GetETE | ( | ) |
Definition at line 524 of file route_point.cpp.
|
inline |
Definition at line 86 of file route_point.h.
|
inline |
Definition at line 61 of file route_point.h.
|
inline |
Definition at line 62 of file route_point.h.
|
inline |
Definition at line 92 of file route_point.h.
wxDateTime RoutePoint::GetManualETD | ( | ) |
Definition at line 510 of file route_point.cpp.
|
inlinevirtual |
Definition at line 80 of file route_point.h.
|
inline |
Definition at line 79 of file route_point.h.
double RoutePoint::GetPlannedSpeed | ( | ) |
Definition at line 451 of file route_point.cpp.
|
inline |
Definition at line 135 of file route_point.h.
|
inline |
Definition at line 132 of file route_point.h.
|
inline |
Definition at line 89 of file route_point.h.
|
inline |
Definition at line 110 of file route_point.h.
|
inline |
Definition at line 136 of file route_point.h.
double RoutePoint::GetWaypointArrivalRadius | ( | ) |
Definition at line 386 of file route_point.cpp.
wxColour RoutePoint::GetWaypointRangeRingsColour | ( | void | ) |
Definition at line 415 of file route_point.cpp.
int RoutePoint::GetWaypointRangeRingsNumber | ( | void | ) |
Definition at line 394 of file route_point.cpp.
float RoutePoint::GetWaypointRangeRingsStep | ( | void | ) |
Definition at line 401 of file route_point.cpp.
int RoutePoint::GetWaypointRangeRingsStepUnits | ( | void | ) |
Definition at line 408 of file route_point.cpp.
|
inline |
Definition at line 138 of file route_point.h.
|
inline |
Definition at line 67 of file route_point.h.
|
inline |
Definition at line 68 of file route_point.h.
bool RoutePoint::IsSame | ( | RoutePoint * | pOtherRP | ) |
Definition at line 375 of file route_point.cpp.
|
inline |
Definition at line 70 of file route_point.h.
bool RoutePoint::IsSharedInVisibleRoute | ( | void | ) |
Definition at line 348 of file route_point.cpp.
|
inline |
Definition at line 66 of file route_point.h.
bool RoutePoint::IsVisibleSelectable | ( | double | scale_val, |
bool | boverrideViz = false |
||
) |
Definition at line 330 of file route_point.cpp.
|
inline |
Definition at line 58 of file route_point.h.
|
inline |
Definition at line 98 of file route_point.h.
void RoutePoint::SetCreateTime | ( | wxDateTime | dt | ) |
Definition at line 300 of file route_point.cpp.
|
inline |
Definition at line 100 of file route_point.h.
void RoutePoint::SetETD | ( | const wxDateTime & | etd | ) |
Definition at line 533 of file route_point.cpp.
bool RoutePoint::SetETD | ( | const wxString & | ts | ) |
Definition at line 538 of file route_point.cpp.
void RoutePoint::SetETE | ( | wxLongLong | secs | ) |
Definition at line 531 of file route_point.cpp.
|
inline |
Definition at line 87 of file route_point.h.
|
inline |
Definition at line 77 of file route_point.h.
|
inline |
Definition at line 93 of file route_point.h.
void RoutePoint::SetName | ( | const wxString & | name | ) |
Definition at line 302 of file route_point.cpp.
|
inline |
Definition at line 78 of file route_point.h.
void RoutePoint::SetPlannedSpeed | ( | double | spd | ) |
Definition at line 447 of file route_point.cpp.
void RoutePoint::SetPosition | ( | double | lat, |
double | lon | ||
) |
Definition at line 370 of file route_point.cpp.
void RoutePoint::SetScaMax | ( | long | val | ) |
Definition at line 436 of file route_point.cpp.
void RoutePoint::SetScaMax | ( | wxString | str | ) |
Definition at line 441 of file route_point.cpp.
void RoutePoint::SetScaMin | ( | long | val | ) |
Definition at line 423 of file route_point.cpp.
void RoutePoint::SetScaMin | ( | wxString | str | ) |
Definition at line 430 of file route_point.cpp.
|
inline |
Definition at line 90 of file route_point.h.
|
inline |
Definition at line 71 of file route_point.h.
|
inline |
Definition at line 115 of file route_point.h.
|
inline |
Definition at line 137 of file route_point.h.
|
inline |
Definition at line 76 of file route_point.h.
|
inline |
Definition at line 103 of file route_point.h.
|
inline |
Definition at line 106 of file route_point.h.
|
inline |
Definition at line 127 of file route_point.h.
|
inline |
Definition at line 118 of file route_point.h.
|
inline |
Definition at line 121 of file route_point.h.
|
inline |
Definition at line 124 of file route_point.h.
|
friend |
Definition at line 49 of file route_point.h.
wxRect RoutePoint::CurrentRect_in_DC |
Definition at line 181 of file route_point.h.
bool RoutePoint::m_bBlink |
Definition at line 178 of file route_point.h.
bool RoutePoint::m_bDynamicName |
Definition at line 179 of file route_point.h.
bool RoutePoint::m_bIsActive |
Definition at line 166 of file route_point.h.
bool RoutePoint::m_bIsInLayer |
Definition at line 184 of file route_point.h.
bool RoutePoint::m_bIsInRoute |
Definition at line 161 of file route_point.h.
bool RoutePoint::m_bIsListed |
Definition at line 165 of file route_point.h.
bool RoutePoint::m_bIsolatedMark |
Definition at line 162 of file route_point.h.
bool RoutePoint::m_bIsVisible |
Definition at line 164 of file route_point.h.
bool RoutePoint::m_bPtIsSelected |
Definition at line 158 of file route_point.h.
bool RoutePoint::m_bRPIsBeingEdited |
Definition at line 159 of file route_point.h.
bool RoutePoint::m_bShowName |
Definition at line 180 of file route_point.h.
bool RoutePoint::m_bShowNameData |
Definition at line 180 of file route_point.h.
bool RoutePoint::m_bShowWaypointRangeRings |
Definition at line 194 of file route_point.h.
bool RoutePoint::m_btemp |
Definition at line 192 of file route_point.h.
wxDateTime RoutePoint::m_CreateTimeX |
Definition at line 219 of file route_point.h.
wxColour RoutePoint::m_FontColor |
Definition at line 174 of file route_point.h.
float RoutePoint::m_fWaypointRangeRingsStep |
Definition at line 197 of file route_point.h.
wxString RoutePoint::m_GUID |
Definition at line 169 of file route_point.h.
HyperlinkList* RoutePoint::m_HyperlinkList |
Definition at line 215 of file route_point.h.
bool RoutePoint::m_IconIsDirty |
Definition at line 167 of file route_point.h.
int RoutePoint::m_iWaypointRangeRingsNumber |
Definition at line 195 of file route_point.h.
int RoutePoint::m_iWaypointRangeRingsStepUnits |
Definition at line 198 of file route_point.h.
double RoutePoint::m_lat |
Definition at line 149 of file route_point.h.
int RoutePoint::m_LayerID |
Definition at line 185 of file route_point.h.
double RoutePoint::m_lon |
Definition at line 149 of file route_point.h.
bool RoutePoint::m_manual_etd {false} |
Definition at line 156 of file route_point.h.
wxString RoutePoint::m_MarkDescription |
Definition at line 168 of file route_point.h.
wxSize RoutePoint::m_NameExtents |
Definition at line 176 of file route_point.h.
int RoutePoint::m_NameLocationOffsetX |
Definition at line 182 of file route_point.h.
int RoutePoint::m_NameLocationOffsetY |
Definition at line 183 of file route_point.h.
wxFont* RoutePoint::m_pMarkFont |
Definition at line 173 of file route_point.h.
double RoutePoint::m_routeprop_course |
Definition at line 187 of file route_point.h.
double RoutePoint::m_routeprop_distance |
Definition at line 189 of file route_point.h.
wxDateTime RoutePoint::m_seg_eta |
Definition at line 154 of file route_point.h.
wxDateTime RoutePoint::m_seg_etd |
Definition at line 153 of file route_point.h.
wxLongLong RoutePoint::m_seg_ete = 0 |
Definition at line 155 of file route_point.h.
double RoutePoint::m_seg_len |
Definition at line 150 of file route_point.h.
double RoutePoint::m_seg_vmg |
Definition at line 152 of file route_point.h.
wxString RoutePoint::m_TideStation |
Definition at line 171 of file route_point.h.
wxString RoutePoint::m_timestring |
Definition at line 217 of file route_point.h.
double RoutePoint::m_WaypointArrivalRadius |
Definition at line 214 of file route_point.h.
wxColour RoutePoint::m_wxcWaypointRangeRingsColour |
Definition at line 199 of file route_point.h.