Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEViewNetHelper::TestingMode Struct Reference

struct used to group all variables related with testing More...

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::TestingMode:
[legend]

Public Member Functions

void drawTestingElements (GUIMainWindow *mainWindow)
 draw testing element
 
void initTestingMode ()
 init testing mode
 
 TestingMode (GNEViewNet *viewNet)
 default constructor
 

Private Attributes

int myTestingHeight = 0
 Height of net in testing mode.
 
int myTestingWidth = 0
 Width of net in testing mode.
 
GNEViewNetmyViewNet
 pointer to net
 

Detailed Description

struct used to group all variables related with testing

Definition at line 1211 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ TestingMode()

GNEViewNetHelper::TestingMode::TestingMode ( GNEViewNet viewNet)

default constructor

Definition at line 1849 of file GNEViewNetHelper.cpp.

Member Function Documentation

◆ drawTestingElements()

void GNEViewNetHelper::TestingMode::drawTestingElements ( GUIMainWindow mainWindow)

draw testing element

Definition at line 1871 of file GNEViewNetHelper.cpp.

References RGBColor::BLUE, OptionsCont::getOptions(), GLO_TESTELEMENT, RGBColor::MAGENTA, GLHelper::popMatrix(), GLHelper::pushMatrix(), GLHelper::setColor(), Position::x(), Position::y(), and RGBColor::YELLOW.

Referenced by GNEViewNet::doPaintGL().

Here is the caller graph for this function:

◆ initTestingMode()

void GNEViewNetHelper::TestingMode::initTestingMode ( )

init testing mode

Definition at line 1855 of file GNEViewNetHelper.cpp.

References OptionsCont::getOptions(), OptionsCont::getStringVector(), TL, toString(), and WRITE_ERRORF.

Field Documentation

◆ myTestingHeight

int GNEViewNetHelper::TestingMode::myTestingHeight = 0
private

Height of net in testing mode.

Definition at line 1230 of file GNEViewNetHelper.h.

◆ myTestingWidth

int GNEViewNetHelper::TestingMode::myTestingWidth = 0
private

Width of net in testing mode.

Definition at line 1227 of file GNEViewNetHelper.h.

◆ myViewNet

GNEViewNet* GNEViewNetHelper::TestingMode::myViewNet
private

pointer to net

Definition at line 1224 of file GNEViewNetHelper.h.


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