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

Actions de rotation d'un GeometryNode. More...

#include <TYActions.h>

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

Public Member Functions

 TYRotateGeoNodeAction (SmartPtr< TYGeometryNode > pGeoNode, const TYRepere &oldRepere, const TYRepere &newRepere, TYModelerFrame *pModeler, const QString &actionName)
 
virtual ~TYRotateGeoNodeAction ()
 
void setNewRepere (const TYRepere &newRepere)
 
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

SmartPtr< TYGeometryNode_pGeoNode
 
TYRepere _oldRepere
 
TYRepere _newRepere
 
- Protected Attributes inherited from TYModelerAction
TYRenderWindowInteractor_pInteractor
 
TYModelerFrame_pModeler
 

Detailed Description

Actions de rotation d'un GeometryNode.

Author
Projet_Tympan

Definition at line 606 of file TYActions.h.

Constructor & Destructor Documentation

◆ TYRotateGeoNodeAction()

TYRotateGeoNodeAction::TYRotateGeoNodeAction ( SmartPtr< TYGeometryNode pGeoNode,
const TYRepere oldRepere,
const TYRepere newRepere,
TYModelerFrame pModeler,
const QString &  actionName 
)

Constructeur.

Definition at line 966 of file TYActions.cpp.

◆ ~TYRotateGeoNodeAction()

TYRotateGeoNodeAction::~TYRotateGeoNodeAction ( )
virtual

Destructeur.

Definition at line 973 of file TYActions.cpp.

Member Function Documentation

◆ redo()

void TYRotateGeoNodeAction::redo ( )
virtual

Effectue a nouveau la derniere action annulee.

Implements TYModelerAction.

Definition at line 985 of file TYActions.cpp.

Here is the call graph for this function:

◆ setNewRepere()

void TYRotateGeoNodeAction::setNewRepere ( const TYRepere newRepere)
inline

Definition at line 619 of file TYActions.h.

◆ undo()

void TYRotateGeoNodeAction::undo ( )
virtual

Annule la derniere action.

Implements TYModelerAction.

Definition at line 975 of file TYActions.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _newRepere

TYRepere TYRotateGeoNodeAction::_newRepere
protected

Definition at line 630 of file TYActions.h.

◆ _oldRepere

TYRepere TYRotateGeoNodeAction::_oldRepere
protected

Definition at line 629 of file TYActions.h.

◆ _pGeoNode

SmartPtr<TYGeometryNode> TYRotateGeoNodeAction::_pGeoNode
protected

Definition at line 628 of file TYActions.h.


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