SUMO - Simulation of Urban MObility
GNEViewNet::MoveSingleElementValues Struct Reference

struct used to group all variables related with movement of single elements More...

Collaboration diagram for GNEViewNet::MoveSingleElementValues:
Collaboration graph

Public Member Functions

 MoveSingleElementValues ()
 constructor More...
 

Data Fields

bool movingEndPos
 
int movingIndexShape
 current index of shape that are being moved More...
 
Position movingOriginalPosition
 original Position of element before moving (needed for commmit position changes) More...
 
PositionVector movingOriginalShape
 Shape of elements before moving (needed for commmit shape changes) More...
 
PositionVector movingOriginalShape2
 
Position movingReference
 variable for calculating moving offset (Used when user doesn't click exactly over the center of shape) More...
 
bool movingStartPos
 bool to indicate that startPos are being moved More...
 

Detailed Description

struct used to group all variables related with movement of single elements

Definition at line 422 of file GNEViewNet.h.

Constructor & Destructor Documentation

◆ MoveSingleElementValues()

GNEViewNet::MoveSingleElementValues::MoveSingleElementValues ( )
inline

constructor

Definition at line 424 of file GNEViewNet.h.

Field Documentation

◆ movingEndPos

bool GNEViewNet::MoveSingleElementValues::movingEndPos

◆ movingIndexShape

int GNEViewNet::MoveSingleElementValues::movingIndexShape

current index of shape that are being moved

Definition at line 444 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress(), and GNEViewNet::onMouseMove().

◆ movingOriginalPosition

Position GNEViewNet::MoveSingleElementValues::movingOriginalPosition

original Position of element before moving (needed for commmit position changes)

Definition at line 433 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), and GNEViewNet::onMouseMove().

◆ movingOriginalShape

PositionVector GNEViewNet::MoveSingleElementValues::movingOriginalShape

Shape of elements before moving (needed for commmit shape changes)

Definition at line 436 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), and GNEViewNet::onMouseMove().

◆ movingOriginalShape2

PositionVector GNEViewNet::MoveSingleElementValues::movingOriginalShape2

Definition at line 437 of file GNEViewNet.h.

◆ movingReference

Position GNEViewNet::MoveSingleElementValues::movingReference

variable for calculating moving offset (Used when user doesn't click exactly over the center of shape)

Definition at line 430 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress(), and GNEViewNet::onMouseMove().

◆ movingStartPos

bool GNEViewNet::MoveSingleElementValues::movingStartPos

bool to indicate that startPos are being moved

Definition at line 440 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), and GNEViewNet::onMouseMove().


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