|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
Action editing for a polyline (when inserting point) More...
#include <TYActions.h>


Public Member Functions | |
| TYInsertPointPolyLineAction (LPTYElement pElt, TYTabPoint &polyLine, int ptId, const TYPoint &pt, TYModelerFrame *pModeler, const QString &actionName) | |
| Constructor. More... | |
| virtual | ~TYInsertPointPolyLineAction () |
| virtual void | undo () |
| The undo action. More... | |
| virtual void | redo () |
| The redo action. More... | |
Public Member Functions inherited from TYModelerAction | |
| TYModelerAction (TYModelerFrame *pModeler, const QString &actionName) | |
| Constructeur. More... | |
| virtual | ~TYModelerAction () |
| Destructeur. More... | |
Public Member Functions inherited from TYAction | |
| TYAction (const QString &actionName) | |
| virtual | ~TYAction () |
| QString | getName () const |
Protected Attributes | |
| LPTYElement | _pElt |
| The element which owns the edited polyline. More... | |
| TYTabPoint & | _polyLine |
| The edited polyline. More... | |
| int | _ptId |
| Id of the point. More... | |
| TYPoint | _pt |
| The new inserted point. More... | |
Protected Attributes inherited from TYModelerAction | |
| TYRenderWindowInteractor * | _pInteractor |
| TYModelerFrame * | _pModeler |
Action editing for a polyline (when inserting point)
Action editing for a polyline (when deleting point)
Definition at line 1107 of file TYActions.h.
| TYInsertPointPolyLineAction::TYInsertPointPolyLineAction | ( | LPTYElement | pElt, |
| TYTabPoint & | polyLine, | ||
| int | ptId, | ||
| const TYPoint & | pt, | ||
| TYModelerFrame * | pModeler, | ||
| const QString & | actionName | ||
| ) |
Constructor.
| pElt | The element which owns the edited polyline |
| polyLine | The edited polyline |
| ptId | The index of the new inserted point |
| pt | The new inserted point |
| pModeler | The modeler |
| actionName | The action name |
Definition at line 1491 of file TYActions.cpp.
|
virtual |
Destructor.
Definition at line 1498 of file TYActions.cpp.
|
virtual |
The redo action.
Implements TYModelerAction.
Definition at line 1509 of file TYActions.cpp.

|
virtual |
The undo action.
Implements TYModelerAction.
Definition at line 1500 of file TYActions.cpp.

|
protected |
The element which owns the edited polyline.
Definition at line 1138 of file TYActions.h.
|
protected |
The edited polyline.
Definition at line 1140 of file TYActions.h.
|
protected |
The new inserted point.
Definition at line 1144 of file TYActions.h.
|
protected |
Id of the point.
Definition at line 1142 of file TYActions.h.