![]() |
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... | |
| 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 684 of file GNEViewNetHelper.h.
| GNEViewNetHelper::TestingMode::TestingMode | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 1211 of file GNEViewNetHelper.cpp.
| void GNEViewNetHelper::TestingMode::drawTestingElements | ( | GUIMainWindow * | mainWindow | ) |
draw testing element
Definition at line 1236 of file GNEViewNetHelper.cpp.
References RGBColor::BLACK, GLHelper::drawTextBox(), GUISUMOAbstractView::getWindowCursorPosition(), GLO_MAX, RGBColor::MAGENTA, myTestingEnabled, myTestingHeight, myTestingWidth, myViewNet, GUISUMOAbstractView::p2m(), GUISUMOAbstractView::screenPos2NetPos(), GLHelper::setColor(), toString(), RGBColor::WHITE, Position::x(), and Position::y().
Referenced by GNEViewNet::doPaintGL().
| void GNEViewNetHelper::TestingMode::initTestingMode | ( | ) |
init testing mode
Definition at line 1220 of file GNEViewNetHelper.cpp.
References OptionsCont::getOptions(), OptionsCont::getStringVector(), myTestingEnabled, myTestingHeight, myTestingWidth, toString(), and WRITE_ERROR.
|
private |
flag to enable or disable testing mode
Definition at line 700 of file GNEViewNetHelper.h.
Referenced by drawTestingElements(), and initTestingMode().
|
private |
Height of viewNet in testing mode.
Definition at line 706 of file GNEViewNetHelper.h.
Referenced by drawTestingElements(), and initTestingMode().
|
private |
Width of viewNet in testing mode.
Definition at line 703 of file GNEViewNetHelper.h.
Referenced by drawTestingElements(), and initTestingMode().
|
private |
pointer to viewNet
Definition at line 697 of file GNEViewNetHelper.h.
Referenced by drawTestingElements().