|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
#include <TYActions.h>


Public Member Functions | |
| TYRemovePointPolyLineAction (LPTYElement pElt, TYTabPoint &polyLine, int ptId, const TYPoint &pt, TYModelerFrame *pModeler, const QString &actionName) | |
| Constructor. More... | |
| virtual | ~TYRemovePointPolyLineAction () |
| 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 |
Definition at line 1152 of file TYActions.h.
| TYRemovePointPolyLineAction::TYRemovePointPolyLineAction | ( | 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 deleted point |
| pt | The deleted point |
| pModeler | The modeler |
| actionName | The action name |
Definition at line 1520 of file TYActions.cpp.
|
virtual |
Destructor.
Definition at line 1527 of file TYActions.cpp.
|
virtual |
The redo action.
Implements TYModelerAction.
Definition at line 1538 of file TYActions.cpp.

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

|
protected |
The element which owns the edited polyline.
Definition at line 1183 of file TYActions.h.
|
protected |
The edited polyline.
Definition at line 1185 of file TYActions.h.
|
protected |
The new inserted point.
Definition at line 1189 of file TYActions.h.
|
protected |
Id of the point.
Definition at line 1187 of file TYActions.h.