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

Indique si cet editor est actif. More...

#include <TYLinearMaillageEditor.h>

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

Public Slots

virtual void init ()
 
virtual void cancel ()
 
virtual void close ()
 
virtual void slotMousePressed (int x, int y, Qt::MouseButton button, Qt::KeyboardModifiers state)
 
virtual void slotMouseMoved (int x, int y, Qt::MouseButtons button, Qt::KeyboardModifiers state)
 
virtual void slotMouseReleased (int x, int y, Qt::MouseButton button, Qt::KeyboardModifiers state)
 
virtual void slotKeyPressed (int key)
 
virtual void slotViewTypeChanged (int view)
 
- Public Slots inherited from TYAbstractSceneEditor
virtual void connect ()
 Connecte cet editor a l'interactor associe. More...
 
virtual void disconnect ()
 Deconnecte cet editor a l'interactor associe. More...
 
virtual void init ()
 Appeler avant l'utilisation de l'editor. More...
 
virtual void cancel ()
 Annule l'action courante de l'editor. More...
 
virtual void close ()
 Appeler apres l'utilisation de l'editor. More...
 
virtual void slotMousePressed (int x, int y, Qt::MouseButton button, Qt::KeyboardModifiers state)
 Une touche de la souris a ete enfoncee. More...
 
virtual void slotMouseReleased (int x, int y, Qt::MouseButton button, Qt::KeyboardModifiers state)
 Une touche de la souris a ete relachee. More...
 
virtual void slotMouseDoubleClicked (int x, int y, Qt::MouseButton button, Qt::KeyboardModifiers state)
 Une touche de la souris a ete double clickee. More...
 
virtual void slotMouseMoved (int x, int y, Qt::MouseButtons button, Qt::KeyboardModifiers state)
 La souris a ete deplacee. More...
 
virtual void slotWheeled (int x, int y, int delta, Qt::KeyboardModifiers state)
 La molette de la souris a ete utilisee. More...
 
virtual void slotKeyPressed (int key)
 Une touche a ete relachee. More...
 
virtual void slotKeyReleased (int key)
 Une touche a ete relachee. More...
 
virtual void slotViewTypeChanged (int view)
 La vue courante du modeler a change. More...
 
virtual void slotMouseEnter ()
 Le curseur de souris est entree dans la widget. More...
 
virtual void slotMouseLeave ()
 Le curseur de souris est sortie dans la widget. More...
 

Public Member Functions

 TYLinearMaillageEditor (TYSiteModelerFrame *pModeler)
 
virtual ~TYLinearMaillageEditor ()
 
- Public Member Functions inherited from TYAbstractSceneEditor
virtual ~TYAbstractSceneEditor ()
 Destructeur. More...
 
void updateText (QString msg="", int posX=0, int posY=0, bool show=true)
 Mets a jour le texte informatif sur la vue 3D. More...
 
void showText (bool show=true)
 Affiche ou pas le texte informatif sur la vue 3D. More...
 
void setGridMagnStep (float gridMagnStep=1.0)
 Met à jour le pas de la grille magnétique. More...
 

Protected Attributes

bool _active
 Indique si cet editor est actif. More...
 
bool _noCalcul
 Indique l'absence de calcul courant. More...
 
OGLLineElement_pOGLLineElement
 La ligne courante. More...
 
- Protected Attributes inherited from TYAbstractSceneEditor
TYModelerFrame_pModeler
 Le modeler associe a cet editor. More...
 
double _gridMagnStep
 Pas de la grille magnétique de positionnement. More...
 
TYRenderWindowInteractor_pInteractor
 La vue graphique associee a cet editor. More...
 
OGLTextElement_pOGLTextElement
 Affichage du texte 2D sur la vue 3D. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from TYAbstractSceneEditor
static void snapToGrid (float &x, float &y, float &z, float &gridMagnStep)
 Methode utilitaire qui adapte les coordonnees d'un point pour que celui-ci soit aligne avec la grille imaginaire de positionnement. More...
 
static void snapToGrid (double &x, double &y, double &z, double &gridMagnStep)
 Methode utilitaire qui adapte les coordonnees d'un point pour que celui-ci soit aligne avec la grille imaginaire de positionnement. More...
 
- Protected Member Functions inherited from TYAbstractSceneEditor
 TYAbstractSceneEditor (TYModelerFrame *pModeler)
 Constructeur par defaut. More...
 
void displayToWorld (double x, double y, double z, double *worldPoint)
 Methode utilitaire pour convertir un point en coordonnees ecran en coordonnees globale. More...
 
void worldToDisplay (double x, double y, double z, double *displayPoint)
 Methode utilitaire pour convertir un point en coordonnees globale en coordonnees ecran. More...
 
void refreshSiteFrame ()
 Rafraichit l'arborescence du TYSiteFrame. More...
 
void refreshProjectFrame ()
 Rafraichit l'arborescence du TYProjectFrame. More...
 
void updateSiteFrame ()
 Reconstruit l'arborescence du TYSiteFrame. More...
 

Detailed Description

Indique si cet editor est actif.

Definition at line 38 of file TYLinearMaillageEditor.h.

Constructor & Destructor Documentation

◆ TYLinearMaillageEditor()

TYLinearMaillageEditor::TYLinearMaillageEditor ( TYSiteModelerFrame pModeler)

Definition at line 52 of file TYLinearMaillageEditor.cpp.

Here is the call graph for this function:

◆ ~TYLinearMaillageEditor()

TYLinearMaillageEditor::~TYLinearMaillageEditor ( )
virtual

Definition at line 69 of file TYLinearMaillageEditor.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ cancel

void TYLinearMaillageEditor::cancel ( )
virtualslot

Definition at line 77 of file TYLinearMaillageEditor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ close

void TYLinearMaillageEditor::close ( )
virtualslot

Definition at line 82 of file TYLinearMaillageEditor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init

void TYLinearMaillageEditor::init ( )
virtualslot

Definition at line 75 of file TYLinearMaillageEditor.cpp.

◆ slotKeyPressed

void TYLinearMaillageEditor::slotKeyPressed ( int  key)
virtualslot

Definition at line 91 of file TYLinearMaillageEditor.cpp.

Here is the call graph for this function:

◆ slotMouseMoved

void TYLinearMaillageEditor::slotMouseMoved ( int  x,
int  y,
Qt::MouseButtons  button,
Qt::KeyboardModifiers  state 
)
virtualslot

Definition at line 144 of file TYLinearMaillageEditor.cpp.

Here is the call graph for this function:

◆ slotMousePressed

void TYLinearMaillageEditor::slotMousePressed ( int  x,
int  y,
Qt::MouseButton  button,
Qt::KeyboardModifiers  state 
)
virtualslot

Definition at line 117 of file TYLinearMaillageEditor.cpp.

Here is the call graph for this function:

◆ slotMouseReleased

void TYLinearMaillageEditor::slotMouseReleased ( int  x,
int  y,
Qt::MouseButton  button,
Qt::KeyboardModifiers  state 
)
virtualslot

Definition at line 178 of file TYLinearMaillageEditor.cpp.

Here is the call graph for this function:

◆ slotViewTypeChanged

void TYLinearMaillageEditor::slotViewTypeChanged ( int  view)
virtualslot

Definition at line 104 of file TYLinearMaillageEditor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _active

bool TYLinearMaillageEditor::_active
protected

Indique si cet editor est actif.

Definition at line 58 of file TYLinearMaillageEditor.h.

◆ _noCalcul

bool TYLinearMaillageEditor::_noCalcul
protected

Indique l'absence de calcul courant.

Definition at line 61 of file TYLinearMaillageEditor.h.

◆ _pOGLLineElement

OGLLineElement* TYLinearMaillageEditor::_pOGLLineElement
protected

La ligne courante.

Definition at line 64 of file TYLinearMaillageEditor.h.


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