#include <gl-window.qt.hh>
Inherited by GLMultiWindow.

Public Member Functions | |
| GLWindow (TView AViewType, QWorkspace *parent, Window *owner, SelectBar *selection) | |
| GLWindow (TView AViewType, QWorkspace *parent, Window *owner, GLWindow *share, SelectBar *selection) | |
| virtual | ~GLWindow () |
| virtual TView | getViewType () const |
| virtual TViewId | getViewId () const |
| virtual string | getViewTypeString () const |
| virtual void | closeEvent (QCloseEvent *e) |
| virtual TViewId | getCliquedViewId () const |
| virtual TViewId | getDoubleCliquedViewId () const |
Protected Member Functions | |
| virtual void | initializeGL () |
| virtual void | paintGL () |
| virtual void | creation () |
| virtual void | mousePressEvent (QMouseEvent *e) |
| virtual void | mouseReleaseEvent (QMouseEvent *e) |
| virtual void | mouseMoveEvent (QMouseEvent *e) |
| virtual void | resizeGL (int W, int H) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *e) |
Protected Attributes | |
| TViewId | FViewId |
| TView | FViewType |
| GLWindow * | FShared |
| bool | isShared |
| Window * | FOwner |
| SelectBar * | FSelection |
| int | FStartX |
| int | FStartY |
| int | FCurX |
| int | FCurY |
| bool | FDragMode |
Definition at line 42 of file gl-window.qt.hh.
Constructeur pour une vue non partagee.
| AViewType | Type de vue a creer | |
| parent | Widget parent | |
| owner | Fenetre mere | |
| selection | Pointeur sur la barre de selection |
Definition at line 37 of file gl-window.qt.cc.
| GLWindow::GLWindow | ( | TView | AViewType, | |
| QWorkspace * | parent, | |||
| Window * | owner, | |||
| GLWindow * | share, | |||
| SelectBar * | selection | |||
| ) |
Constructeur pour une vue partagee.
| AViewType | Type de vue a creer | |
| parent | Widget parent | |
| owner | Fenetre mere | |
| share | Vue avec laquelle elle partage le contexte OpenGL | |
| selection | Pointeur sur la barre de selection |
Definition at line 53 of file gl-window.qt.cc.
| GLWindow::~GLWindow | ( | ) | [virtual] |
Destructeur
Definition at line 72 of file gl-window.qt.cc.
| void GLWindow::closeEvent | ( | QCloseEvent * | e | ) | [virtual] |
Recuperation de l'evenement fermeture
| e | Evenement |
Reimplemented in GLMultiWindow.
Definition at line 107 of file gl-window.qt.cc.
| void GLWindow::creation | ( | ) | [protected, virtual] |
Initialisation de la vue dans le controleur
Reimplemented in GLMultiWindow.
Definition at line 196 of file gl-window.qt.cc.
| TViewId GLWindow::getCliquedViewId | ( | ) | const [virtual] |
Accesseur sur l'identifiant de la vue cliquee
Reimplemented in GLMultiWindow.
Definition at line 99 of file gl-window.qt.cc.
| TViewId GLWindow::getDoubleCliquedViewId | ( | ) | const [virtual] |
Accesseur sur l'identifiant de la vue double-cliquee
Reimplemented in GLMultiWindow.
Definition at line 102 of file gl-window.qt.cc.
| TViewId GLWindow::getViewId | ( | ) | const [virtual] |
Accesseur sur l'identifiant de la vue
Reimplemented in GLMultiWindow.
Definition at line 81 of file gl-window.qt.cc.
| TView GLWindow::getViewType | ( | ) | const [virtual] |
Accesseur sur le type de vue
Definition at line 76 of file gl-window.qt.cc.
| string GLWindow::getViewTypeString | ( | ) | const [virtual] |
Accesseur sur le nom du type de la vue
Reimplemented in GLMultiWindow.
Definition at line 86 of file gl-window.qt.cc.
| void GLWindow::initializeGL | ( | ) | [protected, virtual] |
Initialisation d'OpenGL
Reimplemented in GLMultiWindow.
Definition at line 159 of file gl-window.qt.cc.
| void GLWindow::mouseDoubleClickEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Gestion du double clicage
| e | Evenementdouble clic |
Reimplemented in GLMultiWindow.
Definition at line 368 of file gl-window.qt.cc.
| void GLWindow::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Gestion des mouvements de souris
| e | Evenement souris bougee |
Reimplemented in GLMultiWindow.
Definition at line 330 of file gl-window.qt.cc.
| void GLWindow::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Gestion de l'appui d'un des boutons de la souris
| e | Evenement bouton enfonce |
Reimplemented in GLMultiWindow.
Definition at line 242 of file gl-window.qt.cc.
| void GLWindow::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Gestion de relachement d'un des boutons de la souris
| e | Evenement bouton lache |
Reimplemented in GLMultiWindow.
Definition at line 350 of file gl-window.qt.cc.
| void GLWindow::paintGL | ( | ) | [protected, virtual] |
| void GLWindow::resizeGL | ( | int | W, | |
| int | H | |||
| ) | [protected, virtual] |
Gestion du reajustement de la taille de la fenetre
| W | width | |
| H | height |
Definition at line 152 of file gl-window.qt.cc.
int GLWindow::FCurX [protected] |
Definition at line 175 of file gl-window.qt.hh.
int GLWindow::FCurY [protected] |
Definition at line 175 of file gl-window.qt.hh.
bool GLWindow::FDragMode [protected] |
Definition at line 176 of file gl-window.qt.hh.
Window* GLWindow::FOwner [protected] |
Definition at line 169 of file gl-window.qt.hh.
SelectBar* GLWindow::FSelection [protected] |
Definition at line 172 of file gl-window.qt.hh.
GLWindow* GLWindow::FShared [protected] |
Definition at line 163 of file gl-window.qt.hh.
int GLWindow::FStartX [protected] |
Definition at line 175 of file gl-window.qt.hh.
int GLWindow::FStartY [protected] |
Definition at line 175 of file gl-window.qt.hh.
TViewId GLWindow::FViewId [protected] |
Definition at line 159 of file gl-window.qt.hh.
TView GLWindow::FViewType [protected] |
Definition at line 160 of file gl-window.qt.hh.
bool GLWindow::isShared [protected] |
Definition at line 166 of file gl-window.qt.hh.
1.5.8