74 RoutePoint(
double lat,
double lon,
const wxString &icon_ident,
75 const wxString &name,
const wxString &pGUID = wxEmptyString,
76 bool bAddToList =
true);
89 void ReLoadIcon() { m_IconIsDirty =
true; }
91 void SetPosition(
double lat,
double lon);
92 double GetLatitude() {
return m_lat; };
93 double GetLongitude() {
return m_lon; };
94 LLBBox &GetBBox() {
return m_wpBBox; }
97 bool IsVisible() {
return m_bIsVisible; }
98 bool IsListed() {
return m_bIsListed; }
99 bool IsNameShown() {
return m_bShowName; }
102 bool IsShared() {
return m_bsharedMark; }
103 void SetShared(
bool bshared) { m_bsharedMark = bshared; }
105 bool IsSharedInVisibleRoute(
void);
107 bool IsVisibleSelectable(
double scale_val,
bool boverrideViz =
false);
108 void SetVisible(
bool viz =
true) { m_bIsVisible = viz; }
109 void SetListed(
bool viz =
true) { m_bIsListed = viz; }
110 void SetNameShown(
bool viz =
true) { m_bShowName = viz; }
111 bool GetNameShown() {
return m_bShowName; }
112 virtual wxString GetName(
void) {
return m_MarkName; }
113 wxString GetDescription(
void) {
return m_MarkDescription; }
115 wxDateTime GetCreateTime(
void);
116 void SetCreateTime(wxDateTime dt);
118 wxString GetIconName(
void) {
return m_IconName; }
119 void SetIconName(wxString name) { m_IconName = name; }
121 void *GetSelectNode(
void) {
return m_SelectNode; }
122 void SetSelectNode(
void *node) { m_SelectNode = node; }
124 void *GetManagerListNode(
void) {
return m_ManagerNode; }
125 void SetManagerListNode(
void *node) { m_ManagerNode = node; }
127 void SetName(
const wxString &name);
128 void CalculateNameExtents(
void);
130 void SetCourse(
double course) { m_routeprop_course = course; };
131 double GetCourse() {
return m_routeprop_course; };
132 void SetDistance(
double distance) { m_routeprop_distance = distance; };
133 double GetDistance() {
return m_routeprop_distance; };
135 void SetWaypointArrivalRadius(
double dArrivalDistance) {
136 m_WaypointArrivalRadius = dArrivalDistance;
138 void SetWaypointArrivalRadius(wxString wxArrivalDistance) {
139 wxArrivalDistance.ToDouble(&m_WaypointArrivalRadius);
141 double GetWaypointArrivalRadius();
142 bool GetShowWaypointRangeRings(
void) {
return m_bShowWaypointRangeRings; };
143 int GetWaypointRangeRingsNumber(
void);
144 float GetWaypointRangeRingsStep(
void);
145 int GetWaypointRangeRingsStepUnits(
void);
146 void SetShowWaypointRangeRings(
bool b_showWaypointRangeRings) {
147 m_bShowWaypointRangeRings = b_showWaypointRangeRings;
149 void SetWaypointRangeRingsNumber(
int i_WaypointRangeRingsNumber) {
150 m_iWaypointRangeRingsNumber = i_WaypointRangeRingsNumber;
152 void SetWaypointRangeRingsStep(
float f_WaypointRangeRingsStep) {
153 m_fWaypointRangeRingsStep = f_WaypointRangeRingsStep;
155 void SetWaypointRangeRingsStepUnits(
int i_WaypointRangeRingsStepUnits) {
156 m_iWaypointRangeRingsStepUnits = i_WaypointRangeRingsStepUnits;
158 void SetWaypointRangeRingsColour(wxColour wxc_WaypointRangeRingsColour) {
159 m_wxcWaypointRangeRingsColour = wxc_WaypointRangeRingsColour;
161 void SetScaMin(wxString str);
162 void SetScaMin(
long val);
163 long GetScaMin() {
return m_ScaMin; };
164 void SetScaMax(wxString str);
165 void SetScaMax(
long val);
166 long GetScaMax() {
return m_ScaMax; };
167 bool GetUseSca() {
return b_UseScamin; };
168 void SetUseSca(
bool value) { b_UseScamin = value; };
169 bool IsDragHandleEnabled() {
return m_bDrawDragHandle; }
170 void SetPlannedSpeed(
double spd);
171 double GetPlannedSpeed();
209 void SetETD(
const wxDateTime &etd);
229 bool SetETD(
const wxString &ts);
267 void SetETE(wxLongLong secs);
356 bool m_bPtIsSelected;
357 bool m_bRPIsBeingEdited;
367 wxString m_MarkDescription;
370 wxString m_TideStation;
373 wxColour m_FontColor;
375 wxSize m_NameExtents;
378 bool m_bShowName, m_bShowNameData;
379 wxRect CurrentRect_in_DC;
380 int m_NameLocationOffsetX;
381 int m_NameLocationOffsetY;
385 double m_routeprop_course;
387 double m_routeprop_distance;
392 bool m_bShowWaypointRangeRings;
393 int m_iWaypointRangeRingsNumber;
395 float m_fWaypointRangeRingsStep;
396 int m_iWaypointRangeRingsStepUnits;
397 wxColour m_wxcWaypointRangeRingsColour;
399 unsigned int m_iTextTexture;
400 int m_iTextTextureWidth, m_iTextTextureHeight;
403 double m_wpBBox_view_scale_ppm, m_wpBBox_rotation;
405 bool m_pos_on_screen;
406 wxPoint2DDouble m_screen_pos;
408 double m_WaypointArrivalRadius;
409 HyperlinkList *m_HyperlinkList;
411 wxString m_timestring;
413 wxDateTime m_CreateTimeX;
423 float m_IconScaleFactor;
424 wxBitmap m_ScaledBMP;
426 bool m_bDrawDragHandle;
428 int m_drag_line_length_man, m_drag_icon_offset;
429 double m_dragHandleLat, m_dragHandleLon;
430 int m_draggingOffsetx, m_draggingOffsety;
448 double m_PlannedSpeed;
453 unsigned int m_dragIconTexture;
454 int m_dragIconTextureWidth, m_dragIconTextureHeight;