Public Member Functions | Private Member Functions | Private Attributes
DrawLanes Class Reference

#include <DrawLanes.h>

List of all members.

Public Member Functions

void addPoly (float x1, float x2, float x3, float x4, float y1, float y2, float y3, float y4, bool is_stop, bool is_exit)
void addRobot (float w1lat, float w1long)
void addTrace (float w1lat, float w1long, float w2lat, float w2long)
void addWay (float w1lat, float w1long)
void clear ()
 DrawLanes (int x, int y, float multi=DEFAULT_RATIO)
void saveBMP (const char *filename)
void savePGM (const char *filename)
 ~DrawLanes ()

Private Member Functions

void line (float x0, float y0, float x1, float y1, RGB colour)

Private Attributes

RGBimage
int imageHeight
int imageWidth
float MULT

Detailed Description

Definition at line 46 of file DrawLanes.h.


Constructor & Destructor Documentation

DrawLanes::DrawLanes ( int  x,
int  y,
float  multi = DEFAULT_RATIO 
)

Definition at line 6 of file DrawLanes.cc.

Definition at line 14 of file DrawLanes.cc.


Member Function Documentation

void DrawLanes::addPoly ( float  x1,
float  x2,
float  x3,
float  x4,
float  y1,
float  y2,
float  y3,
float  y4,
bool  is_stop,
bool  is_exit 
)

Definition at line 116 of file DrawLanes.cc.

void DrawLanes::addRobot ( float  w1lat,
float  w1long 
)

Definition at line 106 of file DrawLanes.cc.

void DrawLanes::addTrace ( float  w1lat,
float  w1long,
float  w2lat,
float  w2long 
)

Definition at line 90 of file DrawLanes.cc.

void DrawLanes::addWay ( float  w1lat,
float  w1long 
)

Definition at line 98 of file DrawLanes.cc.

void DrawLanes::clear ( )

Definition at line 19 of file DrawLanes.cc.

void DrawLanes::line ( float  x0,
float  y0,
float  x1,
float  y1,
RGB  colour 
) [private]

Definition at line 43 of file DrawLanes.cc.

void DrawLanes::saveBMP ( const char *  filename)
void DrawLanes::savePGM ( const char *  filename)

Definition at line 73 of file DrawLanes.cc.


Member Data Documentation

RGB* DrawLanes::image [private]

Definition at line 69 of file DrawLanes.h.

int DrawLanes::imageHeight [private]

Definition at line 71 of file DrawLanes.h.

int DrawLanes::imageWidth [private]

Definition at line 70 of file DrawLanes.h.

float DrawLanes::MULT [private]

Definition at line 67 of file DrawLanes.h.


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


art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda, Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:34