#include <DrawLanes.h>
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 | |
RGB * | image |
int | imageHeight |
int | imageWidth |
float | MULT |
Definition at line 46 of file DrawLanes.h.
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.
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 | ( | void | ) |
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.
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.