OpenCPN Partial API docs
Loading...
Searching...
No Matches
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)
 
virtual bool IsRunning ()
 
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)
 
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 187 of file track.h.

Constructor & Destructor Documentation

◆ ActiveTrack()

ActiveTrack::ActiveTrack ( )

Definition at line 211 of file track.cpp.

◆ ~ActiveTrack()

ActiveTrack::~ActiveTrack ( )

Definition at line 232 of file track.cpp.

Member Function Documentation

◆ AdjustCurrentTrackPoint()

void ActiveTrack::AdjustCurrentTrackPoint ( TrackPoint prototype)

Definition at line 362 of file track.cpp.

◆ DoExtendDaily()

Track * ActiveTrack::DoExtendDaily ( )

Definition at line 289 of file track.cpp.

◆ IsRunning()

bool ActiveTrack::IsRunning ( )
inlinevirtual

Reimplemented from Track.

Definition at line 197 of file track.h.

◆ SetPrecision()

void ActiveTrack::SetPrecision ( int  precision)

Definition at line 234 of file track.cpp.

◆ Start()

void ActiveTrack::Start ( void  )

Definition at line 261 of file track.cpp.

◆ Stop()

void ActiveTrack::Stop ( bool  do_add_point = false)

Definition at line 269 of file track.cpp.


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