![]() |
SUMO - Simulation of Urban MObility
|
struct used to group all variables related with testing More...
Public Member Functions | |
void | drawTestingElements (GUIMainWindow *mainWindow) |
draw testing element More... | |
void | initTestingMode () |
init testing mode More... | |
TestingMode (GNEViewNet *viewNet) | |
default constructor More... | |
Private Attributes | |
bool | myTestingEnabled |
flag to enable or disable testing mode More... | |
int | myTestingHeight |
Height of viewNet in testing mode. More... | |
int | myTestingWidth |
Width of viewNet in testing mode. More... | |
GNEViewNet * | myViewNet |
pointer to viewNet More... | |
struct used to group all variables related with testing
Definition at line 715 of file GNEViewNet.h.
GNEViewNet::TestingMode::TestingMode | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 3759 of file GNEViewNet.cpp.
void GNEViewNet::TestingMode::drawTestingElements | ( | GUIMainWindow * | mainWindow | ) |
draw testing element
Definition at line 3784 of file GNEViewNet.cpp.
References RGBColor::BLACK, GLHelper::drawTextBox(), GLO_MAX, RGBColor::MAGENTA, myTestingEnabled, myTestingHeight, myTestingWidth, myViewNet, GUISUMOAbstractView::myWindowCursorPositionX, GUISUMOAbstractView::myWindowCursorPositionY, GUISUMOAbstractView::p2m(), GUISUMOAbstractView::screenPos2NetPos(), GLHelper::setColor(), toString(), RGBColor::WHITE, Position::x(), and Position::y().
Referenced by GNEViewNet::doPaintGL().
void GNEViewNet::TestingMode::initTestingMode | ( | ) |
init testing mode
Definition at line 3768 of file GNEViewNet.cpp.
References OptionsCont::getOptions(), OptionsCont::getStringVector(), myTestingEnabled, myTestingHeight, myTestingWidth, toString(), and WRITE_ERROR.
Referenced by GNEViewNet::GNEViewNet().
|
private |
flag to enable or disable testing mode
Definition at line 731 of file GNEViewNet.h.
Referenced by drawTestingElements(), and initTestingMode().
|
private |
Height of viewNet in testing mode.
Definition at line 737 of file GNEViewNet.h.
Referenced by drawTestingElements(), and initTestingMode().
|
private |
Width of viewNet in testing mode.
Definition at line 734 of file GNEViewNet.h.
Referenced by drawTestingElements(), and initTestingMode().
|
private |
pointer to viewNet
Definition at line 728 of file GNEViewNet.h.
Referenced by drawTestingElements().