The Track class.  
 More...
#include <track.h>
The Track class. 
Definition at line 26 of file track.h.
 
      
        
          | void Track::addPoint  | 
          ( | 
          double  | 
          x,  | 
        
        
           | 
           | 
          double  | 
          y,  | 
        
        
           | 
           | 
          float  | 
          altitude,  | 
        
        
           | 
           | 
          unsigned int  | 
          timeStamp  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Creates a new point and inserts it in m_points. 
- Parameters
 - 
  
    | the | x coordinate  | 
    | the | y coordinate  | 
    | the | altitude of the inserted point  | 
    | the | timeStamp of the inserted point  | 
  
   
Definition at line 281 of file track.cpp.
 
 
      
        
          | void Track::applyThresholdToBox  | 
          ( | 
           | ) | 
           | 
        
      
 
Apply a threshold to bounding box once the data file has been read. 
TODO 
Definition at line 295 of file track.cpp.
 
 
      
        
          | void Track::delPointGPS  | 
          ( | 
          int  | 
          occurrence | ) | 
           | 
        
      
 
Deletes a occurence. 
- Parameters
 - 
  
    | The | pointer of the occurrence to delete  | 
  
   
Definition at line 276 of file track.cpp.
 
 
  
  
      
        
          | int Track::getNoOfPoints  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | vector< PointGPS * > Track::getPoints  | 
          ( | 
           | ) | 
           | 
        
      
 
getPoints Get the m_points vector 
- Returns
 - The vector of points pointer 
 
Definition at line 226 of file track.cpp.
 
 
  
  
      
        
          | std::vector<PointGPS*>* Track::getPointsAsPointer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
Return a string containing information about the content of this object. 
Definition at line 311 of file track.cpp.
 
 
      
        
          | void Track::outputInfos  | 
          ( | 
           | ) | 
           | 
        
      
 
Print some informations to user in console. 
Definition at line 303 of file track.cpp.
 
 
      
        
          | void Track::readFromCSV  | 
          ( | 
          QString  | 
          filename | ) | 
           | 
        
      
 
Reads a csv file and inserts each point in m_points vector. 
- Parameters
 - 
  
    | filename | the filepath/filename.fileExtension for the csv file to read  | 
  
   
Definition at line 36 of file track.cpp.
 
 
  
  
      
        
          | void Track::signalMessage  | 
          ( | 
          QString  | 
           | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
      
        
          | void Track::spaceFilter  | 
          ( | 
          double  | 
          interval | ) | 
           | 
        
      
 
This is a space filter, which deletes points depending on a distance interval. 
- Parameters
 - 
  
    | interval | : minimal wished between two points in meters  | 
  
   
Definition at line 258 of file track.cpp.
 
 
      
        
          | void Track::temporalFilter  | 
          ( | 
          uint  | 
          interval | ) | 
           | 
        
      
 
This is a temporal filter, which deletes points depending on a time value. 
- Parameters
 - 
  
    | interval | : Time value in seconds  | 
  
   
Definition at line 231 of file track.cpp.
 
 
      
        
          | void Track::updateBox  | 
          ( | 
          double  | 
          x,  | 
        
        
           | 
           | 
          double  | 
          y  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Update the enclosing box of the track. 
- Parameters
 - 
  
    | x | Coordinate x of a point  | 
    | y | Coordinate x of a point  | 
  
   
Definition at line 287 of file track.cpp.
 
 
m_points Vector where points of the Track are saved 
Vector of points 
Definition at line 120 of file track.h.
 
 
  
  
      
        
          | std::string Track::m_trackFullName | 
         
       
   | 
  
protected   | 
  
 
Name of the track 
Definition at line 122 of file track.h.
 
 
The x max value 
Definition at line 108 of file track.h.
 
 
The x min value 
Definition at line 107 of file track.h.
 
 
The y max value 
Definition at line 110 of file track.h.
 
 
The y min value 
Definition at line 109 of file track.h.
 
 
The documentation for this class was generated from the following files: