OpenCPN Partial API docs
ActiveTrack Class Reference
Inheritance diagram for ActiveTrack:
Track

Public Member Functions

void SetPrecision (int precision)
 
void Start (void)
 
void Stop (bool do_add_point=false)
 
TrackDoExtendDaily ()
 
bool IsRunning ()
 
void AdjustCurrentTrackPoint (TrackPoint *prototype)
 
- Public Member Functions inherited from Track
int GetnPoints (void)
 
void SetVisible (bool visible=true)
 
TrackPointGetPoint (int nWhichPoint)
 
TrackPointGetLastPoint ()
 
void AddPoint (TrackPoint *pNewPoint)
 
void AddPointFinalized (TrackPoint *pNewPoint)
 
TrackPointAddNewPoint (vector2D point, wxDateTime time)
 
void SetListed (bool listed=true)
 
bool IsVisible ()
 
bool IsListed ()
 
int GetCurrentTrackSeg ()
 
void SetCurrentTrackSeg (int seg)
 
double Length ()
 
int Simplify (double maxDelta)
 
RouteRouteFromTrack (wxGenericProgressDialog *pprog)
 
void ClearHighlights ()
 
wxString GetName (bool auto_if_empty=false) const
 
void SetName (const wxString name)
 
wxString GetDate (bool auto_if_empty=false) const
 
void Clone (Track *psourcetrack, int start_nPoint, int end_nPoint, const wxString &suffix)
 

Additional Inherited Members

- Public Attributes inherited from Track
wxString m_GUID
 
bool m_bIsInLayer
 
int m_LayerID
 
wxString m_TrackDescription
 
wxString m_TrackStartString
 
wxString m_TrackEndString
 
int m_width
 
wxPenStyle m_style
 
wxString m_Colour
 
bool m_bVisible
 
bool m_bListed
 
bool m_btemp
 
int m_CurrentTrackSeg
 
HyperlinkList * m_HyperlinkList
 
int m_HighlightedTrackPoint
 
- Protected Member Functions inherited from Track
void DouglasPeuckerReducer (std::vector< TrackPoint * > &list, std::vector< bool > &keeplist, int from, int to, double delta)
 
double GetXTE (TrackPoint *fm1, TrackPoint *fm2, TrackPoint *to)
 
double GetXTE (double fm1Lat, double fm1Lon, double fm2Lat, double fm2Lon, double toLat, double toLon)
 
- Protected Attributes inherited from Track
std::vector< TrackPoint * > TrackPoints
 
std::vector< std::vector< SubTrack > > SubTracks
 

Detailed Description

Definition at line 199 of file track.h.


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