27 #ifndef GLVIEWER_WIDGET_H
28 #define GLVIEWER_WIDGET_H
66 void getScale( GLfloat& xScale,
70 void setScale( GLfloat xScale,
72 GLfloat zScaleGLfloat );
75 void getPan( GLfloat& xPan, GLfloat& yPan, GLfloat& zPan );
77 void setPan( GLfloat xPan, GLfloat yPan, GLfloat zPan );
87 void getRotationStart( GLfloat& rotationStartX,
88 GLfloat& rotationStartY,
89 GLfloat& rotationStartZ );
91 void setRotationStart( GLfloat rotationStartX,
92 GLfloat rotationStartY,
93 GLfloat rotationStartZ );
95 void getRotation( GLfloat& rotationAngle,
96 GLfloat& rotationCenterX,
97 GLfloat& rotationCenterY,
98 GLfloat& rotationCenterZ );
100 void setRotation( GLfloat, GLfloat, GLfloat, GLfloat );
103 void setBackground( QString theFileName );
106 void addToolTip( QString theTTText, QRect theTTRect );
108 void removeToolTip();
120 void exportRepaint();
137 void getBackgroundRectInViewerCS(
double& left,
double& top,
double& right,
double& bottom );
142 virtual void initializeGL();
145 virtual void paintGL();
147 virtual void resizeGL(
int,
int );
150 virtual void paintEvent( QPaintEvent* );
151 virtual void mouseMoveEvent( QMouseEvent* );
152 virtual void mousePressEvent( QMouseEvent* );
153 virtual void mouseReleaseEvent( QMouseEvent* );
156 virtual void enterEvent(
QEvent* );
158 virtual void leaveEvent(
QEvent* );
160 virtual bool event (
QEvent* );
215 #endif // GLVIEWER_WIDGET_H