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

Action de mise a l'echelle d'un site. More...

#include <TYActions.h>

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

Public Member Functions

 TYSetEchelleSiteAction (LPTYSiteNode &pSite, float oldEchelle, float newEchelle, TYModelerFrame *pModeler, const QString &actionName)
 
virtual ~TYSetEchelleSiteAction ()
 
virtual void undo ()
 
virtual void redo ()
 
- 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

LPTYSiteNode _pSite
 
float _oldEchelle
 
float _newEchelle
 
- Protected Attributes inherited from TYModelerAction
TYRenderWindowInteractor_pInteractor
 
TYModelerFrame_pModeler
 

Detailed Description

Action de mise a l'echelle d'un site.

Author
Projet_Tympan

Definition at line 820 of file TYActions.h.

Constructor & Destructor Documentation

◆ TYSetEchelleSiteAction()

TYSetEchelleSiteAction::TYSetEchelleSiteAction ( LPTYSiteNode pSite,
float  oldEchelle,
float  newEchelle,
TYModelerFrame pModeler,
const QString &  actionName 
)

Constructeur.

Definition at line 1172 of file TYActions.cpp.

◆ ~TYSetEchelleSiteAction()

TYSetEchelleSiteAction::~TYSetEchelleSiteAction ( )
virtual

Destructeur.

Definition at line 1178 of file TYActions.cpp.

Member Function Documentation

◆ redo()

void TYSetEchelleSiteAction::redo ( )
virtual

Effectue a nouveau la derniere action annulee.

Implements TYModelerAction.

Definition at line 1188 of file TYActions.cpp.

Here is the call graph for this function:

◆ undo()

void TYSetEchelleSiteAction::undo ( )
virtual

Annule la derniere action.

Implements TYModelerAction.

Definition at line 1180 of file TYActions.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _newEchelle

float TYSetEchelleSiteAction::_newEchelle
protected

Definition at line 839 of file TYActions.h.

◆ _oldEchelle

float TYSetEchelleSiteAction::_oldEchelle
protected

Definition at line 838 of file TYActions.h.

◆ _pSite

LPTYSiteNode TYSetEchelleSiteAction::_pSite
protected

Definition at line 837 of file TYActions.h.


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