![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFrameAttributesModuls.h>
Public Member Functions | |
| void | abortDrawing () |
| abort drawing More... | |
| void | addNewPoint (const Position &P) |
| add new point to temporal shape More... | |
| DrawingShape (GNEFrame *frameParent) | |
| FOX-declaration. More... | |
| bool | getDeleteLastCreatedPoint () |
| get flag delete last created point More... | |
| const PositionVector & | getTemporalShape () const |
| get Temporal shape More... | |
| void | hideDrawingShape () |
| hide Drawing mode More... | |
| bool | isDrawing () const |
| return true if currently a shape is drawed More... | |
| void | removeLastPoint () |
| remove last added point More... | |
| void | setDeleteLastCreatedPoint (bool value) |
| enable or disable delete last created point More... | |
| void | showDrawingShape () |
| show Drawing mode More... | |
| void | startDrawing () |
| start drawing More... | |
| void | stopDrawing () |
| stop drawing and check if shape can be created More... | |
| ~DrawingShape () | |
| destructor More... | |
FOX-callbacks | |
Called when the user press start drawing button | |
| long | onCmdStartDrawing (FXObject *, FXSelector, void *) |
| long | onCmdStopDrawing (FXObject *, FXSelector, void *) |
| Called when the user press stop drawing button. More... | |
| long | onCmdAbortDrawing (FXObject *, FXSelector, void *) |
| Called when the user press abort drawing button. More... | |
Private Attributes | |
| FXButton * | myAbortDrawingButton |
| button for abort drawing More... | |
| bool | myDeleteLastCreatedPoint |
| flag to enable/disable delete point mode More... | |
| GNEFrame * | myFrameParent |
| pointer to frame parent More... | |
| FXLabel * | myInformationLabel |
| Label with information. More... | |
| FXButton * | myStartDrawingButton |
| button for start drawing More... | |
| FXButton * | myStopDrawingButton |
| button for stop drawing More... | |
| PositionVector | myTemporalShapeShape |
| current drawed shape More... | |
Definition at line 628 of file GNEFrameAttributesModuls.h.
| GNEFrameAttributesModuls::DrawingShape::DrawingShape | ( | GNEFrame * | frameParent | ) |
FOX-declaration.
constructor
Definition at line 2341 of file GNEFrameAttributesModuls.cpp.
References GUIDesignButton, GUIDesignLabelFrameInformation, MID_GNE_ABORTDRAWING, MID_GNE_STARTDRAWING, MID_GNE_STOPDRAWING, myAbortDrawingButton, myInformationLabel, myStartDrawingButton, and myStopDrawingButton.
| GNEFrameAttributesModuls::DrawingShape::~DrawingShape | ( | ) |
destructor
Definition at line 2367 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::DrawingShape::abortDrawing | ( | ) |
abort drawing
Definition at line 2417 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::DrawingShape::addNewPoint | ( | const Position & | P | ) |
add new point to temporal shape
Definition at line 2429 of file GNEFrameAttributesModuls.cpp.
| bool GNEFrameAttributesModuls::DrawingShape::getDeleteLastCreatedPoint | ( | ) |
get flag delete last created point
Definition at line 2463 of file GNEFrameAttributesModuls.cpp.
| const PositionVector & GNEFrameAttributesModuls::DrawingShape::getTemporalShape | ( | ) | const |
get Temporal shape
Definition at line 2445 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::DrawingShape::hideDrawingShape | ( | ) |
hide Drawing mode
Definition at line 2378 of file GNEFrameAttributesModuls.cpp.
| bool GNEFrameAttributesModuls::DrawingShape::isDrawing | ( | ) | const |
return true if currently a shape is drawed
Definition at line 2451 of file GNEFrameAttributesModuls.cpp.
| long GNEFrameAttributesModuls::DrawingShape::onCmdAbortDrawing | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user press abort drawing button.
Definition at line 2483 of file GNEFrameAttributesModuls.cpp.
| long GNEFrameAttributesModuls::DrawingShape::onCmdStartDrawing | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2469 of file GNEFrameAttributesModuls.cpp.
| long GNEFrameAttributesModuls::DrawingShape::onCmdStopDrawing | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user press stop drawing button.
Definition at line 2476 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::DrawingShape::removeLastPoint | ( | ) |
remove last added point
Definition at line 2439 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::DrawingShape::setDeleteLastCreatedPoint | ( | bool | value | ) |
enable or disable delete last created point
Definition at line 2457 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::DrawingShape::showDrawingShape | ( | ) |
show Drawing mode
Definition at line 2370 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::DrawingShape::startDrawing | ( | ) |
start drawing
Definition at line 2387 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::DrawingShape::stopDrawing | ( | ) |
stop drawing and check if shape can be created
Definition at line 2399 of file GNEFrameAttributesModuls.cpp.
|
private |
button for abort drawing
Definition at line 704 of file GNEFrameAttributesModuls.h.
Referenced by DrawingShape().
|
private |
flag to enable/disable delete point mode
Definition at line 692 of file GNEFrameAttributesModuls.h.
|
private |
pointer to frame parent
Definition at line 689 of file GNEFrameAttributesModuls.h.
|
private |
Label with information.
Definition at line 707 of file GNEFrameAttributesModuls.h.
Referenced by DrawingShape().
|
private |
button for start drawing
Definition at line 698 of file GNEFrameAttributesModuls.h.
Referenced by DrawingShape().
|
private |
button for stop drawing
Definition at line 701 of file GNEFrameAttributesModuls.h.
Referenced by DrawingShape().
|
private |
current drawed shape
Definition at line 695 of file GNEFrameAttributesModuls.h.