#include <raceground.h>
|  | 
|  | RaceGround (const OdeHandle &odehandle) | 
|  | 
|  | RaceGround (const OdeHandle &odehandle, const Matrix &pose) | 
|  | 
|  | RaceGround (const OdeHandle &odehandle, const Position &pos, double angle) | 
|  | 
|  | ~RaceGround () | 
|  | Destructor.  More... 
 | 
|  | 
| void | setNumberOfSegments (int number) | 
|  | you set the number of segments of the track  More... 
 | 
|  | 
| pair< double, double > | getPositionOnTrack (const Position &p) | 
|  | returns the barcode number of the given point returns (length,width) (-1,-1) if point is not on the track  More... 
 | 
|  | 
| void | addSegments (list< AbstractTrackSection * > listToAdd) | 
|  | adds the segments in the list to the SegmentList  More... 
 | 
|  | 
| void | addSegment (AbstractTrackSection *Segment) | 
|  | adds the segment to the SegmentList  More... 
 | 
|  | 
| void | addSegment (string &name) | 
|  | adds the named segment to the SegmentList names are: straightline: StraightLine 90degree : DegreeSegment  More... 
 | 
|  | 
| void | addSegments (list< string > names) | 
|  | adds the named segments in the list to the SegmentList names are: straightline: StraightLine 90degree : 90DegreeSegment  More... 
 | 
|  | 
| virtual void | draw () | 
|  | draws all the segments stored in SegmentList  More... 
 | 
|  | 
| virtual void | setPosition (double x, double y, double z) | 
|  | 
| virtual void | getPosition (double &x, double &y, double &z) | 
|  | 
| virtual void | setGeometry (double length_, double width_, double height_) | 
|  | 
| virtual void | setColor (double r, double g, double b) | 
|  | 
adds the segment to the SegmentList 
 
 
  
  | 
        
          | void addSegment | ( | string & | name | ) |  |  | inline | 
 
 
adds the segments in the list to the SegmentList 
 
 
  
  | 
        
          | void addSegments | ( | list< string > | names | ) |  |  | inline | 
 
adds the named segments in the list to the SegmentList names are: straightline: StraightLine 90degree : 90DegreeSegment 
 
 
draws all the segments stored in SegmentList 
 
 
  
  | 
        
          | virtual void getPosition | ( | double & | x, |  
          |  |  | double & | y, |  
          |  |  | double & | z |  
          |  | ) |  |  |  | inlinevirtual | 
 
 
  
  | 
        
          | pair<double, double> getPositionOnTrack | ( | const Position & | p | ) |  |  | inline | 
 
returns the barcode number of the given point returns (length,width) (-1,-1) if point is not on the track 
 
 
  
  | 
        
          | virtual void setColor | ( | double | r, |  
          |  |  | double | g, |  
          |  |  | double | b |  
          |  | ) |  |  |  | inlinevirtual | 
 
 
  
  | 
        
          | virtual void setGeometry | ( | double | length_, |  
          |  |  | double | width_, |  
          |  |  | double | height_ |  
          |  | ) |  |  |  | inlinevirtual | 
 
 
  
  | 
        
          | void setNumberOfSegments | ( | int | number | ) |  |  | inline | 
 
you set the number of segments of the track 
 
 
  
  | 
        
          | virtual void setParameters | ( | const Matrix & | initpose | ) |  |  | inlineprotectedvirtual | 
 
 
  
  | 
        
          | virtual void setPosition | ( | double | x, |  
          |  |  | double | y, |  
          |  |  | double | z |  
          |  | ) |  |  |  | inlinevirtual | 
 
 
  
  | 
        
          | dSpaceID raceground_space |  | protected | 
 
 
The documentation for this class was generated from the following file: