25 #include <QWheelEvent>
60 _windowNum = visIndex;
76 VizWin(MainForm* parent ,
const QString& name,
VizWinMgr* myMgr, QRect* location ,
int winNum);
79 #ifndef DOXYGEN_SKIP_THIS
81 virtual void setFocus();
84 virtual QSize minimumSizeHint()
const
85 {
return QSize(400,400);}
87 QPoint _mouseDownPosition;
91 virtual void wheelEvent(QWheelEvent* e){
94 virtual void mousePressEvent(QMouseEvent*);
95 virtual void mouseReleaseEvent(QMouseEvent*);
96 virtual void mouseMoveEvent(QMouseEvent*);
97 virtual void focusInEvent(QFocusEvent* e);
98 virtual void closeEvent(QCloseEvent*);
100 virtual void resizeGL(
int width,
int height);
101 virtual void initializeGL();
103 void setMouseDown(
bool downUp, TranslateStretchManip* manip = 0) {
104 _mouseDownHere = downUp;
105 if(manip) manip->setMouseDown(downUp);
107 bool mouseIsDown() {
return _mouseDownHere;}
111 VizWinMgr* _vizWinMgr;
112 Visualizer* _visualizer;
121 #endif //DOXYGEN_SKIP_THIS
VizWin(MainForm *parent, const QString &name, VizWinMgr *myMgr, QRect *location, int winNum)
A class for managing all visualizers.
void reallyUpdate()
Force the window to update, even if nothing has changed.
A class for performing OpenGL rendering in VAPOR GUI Window.
void setWindowNum(int visIndex)
Visualizer * getVisualizer()
A QGLWidget that supports display based on GL methods invoked in a Visualizer.