Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Protected Attributes | List of all members
TYRemovePointPolyLineAction Class Reference

#include <TYActions.h>

Inheritance diagram for TYRemovePointPolyLineAction:
Inheritance graph
[legend]
Collaboration diagram for TYRemovePointPolyLineAction:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 1152 of file TYActions.h.

Constructor & Destructor Documentation

◆ TYRemovePointPolyLineAction()

TYRemovePointPolyLineAction::TYRemovePointPolyLineAction ( LPTYElement  pElt,
TYTabPoint polyLine,
int  ptId,
const TYPoint pt,
TYModelerFrame pModeler,
const QString &  actionName 
)

Constructor.

Parameters
pEltThe element which owns the edited polyline
polyLineThe edited polyline
ptIdThe index of the deleted point
ptThe deleted point
pModelerThe modeler
actionNameThe action name

Definition at line 1520 of file TYActions.cpp.

◆ ~TYRemovePointPolyLineAction()

TYRemovePointPolyLineAction::~TYRemovePointPolyLineAction ( )
virtual

Destructor.

Definition at line 1527 of file TYActions.cpp.

Member Function Documentation

◆ redo()

void TYRemovePointPolyLineAction::redo ( )
virtual

The redo action.

Implements TYModelerAction.

Definition at line 1538 of file TYActions.cpp.

Here is the call graph for this function:

◆ undo()

void TYRemovePointPolyLineAction::undo ( )
virtual

The undo action.

Implements TYModelerAction.

Definition at line 1529 of file TYActions.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _pElt

LPTYElement TYRemovePointPolyLineAction::_pElt
protected

The element which owns the edited polyline.

Definition at line 1183 of file TYActions.h.

◆ _polyLine

TYTabPoint& TYRemovePointPolyLineAction::_polyLine
protected

The edited polyline.

Definition at line 1185 of file TYActions.h.

◆ _pt

TYPoint TYRemovePointPolyLineAction::_pt
protected

The new inserted point.

Definition at line 1189 of file TYActions.h.

◆ _ptId

int TYRemovePointPolyLineAction::_ptId
protected

Id of the point.

Definition at line 1187 of file TYActions.h.


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