![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct used to group all variables related with testing More...
#include <GNEViewNetHelper.h>
Public Member Functions | |
void | drawTestingElements (GUIMainWindow *mainWindow) |
draw testing element More... | |
void | initTestingMode () |
init testing mode More... | |
bool | isTestingEnabled () const |
check if testing mode is enabled More... | |
TestingMode (GNEViewNet *viewNet) | |
default constructor More... | |
Private Attributes | |
bool | myTestingEnabled |
flag to enable or disable testing mode More... | |
int | myTestingHeight |
Height of net in testing mode. More... | |
int | myTestingWidth |
Width of net in testing mode. More... | |
GNEViewNet * | myViewNet |
pointer to net More... | |
struct used to group all variables related with testing
Definition at line 993 of file GNEViewNetHelper.h.
GNEViewNetHelper::TestingMode::TestingMode | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 1583 of file GNEViewNetHelper.cpp.
void GNEViewNetHelper::TestingMode::drawTestingElements | ( | GUIMainWindow * | mainWindow | ) |
draw testing element
Definition at line 1608 of file GNEViewNetHelper.cpp.
References RGBColor::BLACK, GLHelper::drawTextBox(), GLO_TESTELEMENT, RGBColor::MAGENTA, GLHelper::setColor(), toString(), RGBColor::WHITE, Position::x(), and Position::y().
Referenced by GNEViewNet::doPaintGL().
void GNEViewNetHelper::TestingMode::initTestingMode | ( | ) |
init testing mode
Definition at line 1592 of file GNEViewNetHelper.cpp.
References OptionsCont::getOptions(), OptionsCont::getStringVector(), toString(), and WRITE_ERROR.
bool GNEViewNetHelper::TestingMode::isTestingEnabled | ( | ) | const |
check if testing mode is enabled
Definition at line 1645 of file GNEViewNetHelper.cpp.
Referenced by GNEPOI::drawGL().
|
private |
flag to enable or disable testing mode
Definition at line 1012 of file GNEViewNetHelper.h.
|
private |
Height of net in testing mode.
Definition at line 1018 of file GNEViewNetHelper.h.
|
private |
Width of net in testing mode.
Definition at line 1015 of file GNEViewNetHelper.h.
|
private |
pointer to net
Definition at line 1009 of file GNEViewNetHelper.h.