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

Construit un CoursEau a partir des points saisis. More...

#include <TYCoursEauEditor.h>

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

Public Slots

void endCoursEau ()
 Construit un CoursEau a partir des points saisis. More...
 
- Public Slots inherited from TYPolyLineEditor
virtual void connect ()
 
virtual void disconnect ()
 
virtual void init ()
 
virtual void cancel ()
 
virtual void close ()
 
virtual void slotMouseReleased (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 slotKeyPressed (int key)
 
virtual void slotKeyReleased (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

 TYCoursEauEditor (TYModelerFrame *pModeler)
 
 ~TYCoursEauEditor ()
 
- Public Member Functions inherited from TYPolyLineEditor
 TYPolyLineEditor (TYModelerFrame *pModeler)
 
 ~TYPolyLineEditor ()
 
TYTabPointgetSavedPoints ()
 
void setDispDist (bool state)
 
bool getDispDist ()
 
void setPointSize (float size)
 
float getPointSize ()
 
- 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...
 

Additional Inherited Members

- Signals inherited from TYPolyLineEditor
void endedSavingPoints ()
 
- 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 Slots inherited from TYPolyLineEditor
void addPoint (int x, int y)
 
bool removeLastPoint ()
 
bool updateMovingLine (int x, int y)
 
void validatePoint (TYPoint &pt)
 
- 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...
 
- Protected Attributes inherited from TYPolyLineEditor
bool _active
 Indique si cet editor est actif. More...
 
bool _dispDist
 Indique si l'information de distance doit etre affichee ou non. More...
 
TYCameraEditor_pCamEditor
 Un CameraEditor associe a cet editor. More...
 
TYTabPoint _savedPoints
 Tableau pour la sauvegarde des points du mode Save points. More...
 
QList< OGLLineElement * > _OGLLineElementList
 Lignes dans la vue 3D. More...
 
QList< OGLSphereElement * > _OGLSphereElementList
 Table de points openGL. More...
 
OGLLineElement_pOGLLineElement
 La ligne courante. More...
 
float _pointSize
 Taille pour la representation des points. More...
 
bool _shiftOn
 Indique si le bouton Shift est enfonce. 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...
 

Detailed Description

Construit un CoursEau a partir des points saisis.

Definition at line 37 of file TYCoursEauEditor.h.

Constructor & Destructor Documentation

◆ TYCoursEauEditor()

TYCoursEauEditor::TYCoursEauEditor ( TYModelerFrame pModeler)

Definition at line 35 of file TYCoursEauEditor.cpp.

Here is the call graph for this function:

◆ ~TYCoursEauEditor()

TYCoursEauEditor::~TYCoursEauEditor ( )

Definition at line 40 of file TYCoursEauEditor.cpp.

Member Function Documentation

◆ endCoursEau

void TYCoursEauEditor::endCoursEau ( )
slot

Construit un CoursEau a partir des points saisis.

Definition at line 42 of file TYCoursEauEditor.cpp.

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

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