147 Qt::MouseButtons m_lastButtons; |
147 Qt::MouseButtons m_lastButtons; |
148 Qt::KeyboardModifiers m_currentKeyboardModifiers; |
148 Qt::KeyboardModifiers m_currentKeyboardModifiers; |
149 QGenericMatrix<4, 4, GLfloat> m_rotationMatrix; |
149 QGenericMatrix<4, 4, GLfloat> m_rotationMatrix; |
150 GLCamera m_cameras[7]; |
150 GLCamera m_cameras[7]; |
151 bool m_useDarkBackground = false; |
151 bool m_useDarkBackground = false; |
152 bool m_drawToolTip = false; |
|
153 bool m_takingScreenCapture = false; |
152 bool m_takingScreenCapture = false; |
154 bool m_panning = false; |
153 bool m_panning = false; |
155 bool m_initialized = false; |
154 bool m_initialized = false; |
156 bool m_isDrawOnly = false; |
155 bool m_isDrawOnly = false; |
157 bool m_isDrawingSelectionScene = false; |
156 bool m_isDrawingSelectionScene = false; |
159 bool m_needZoomToFit = true; |
158 bool m_needZoomToFit = true; |
160 QPoint m_mousePosition; |
159 QPoint m_mousePosition; |
161 QPoint m_globalpos; |
160 QPoint m_globalpos; |
162 QPointF m_mousePositionF; |
161 QPointF m_mousePositionF; |
163 Camera m_camera; |
162 Camera m_camera; |
164 Camera m_toolTipCamera; |
|
165 GLuint m_axeslist; |
163 GLuint m_axeslist; |
166 int m_totalMouseMove; |
164 int m_totalMouseMove; |
167 QColor m_backgroundColor; |
165 QColor m_backgroundColor; |
168 GLuint m_axesVbo; |
166 GLuint m_axesVbo; |
169 GLuint m_axesColorVbo; |
167 GLuint m_axesColorVbo; |
172 void drawVbos (VboClass surface, VboSubclass colors, GLenum type); |
170 void drawVbos (VboClass surface, VboSubclass colors, GLenum type); |
173 void zoomToFit(); |
171 void zoomToFit(); |
174 void zoomAllToFit(); |
172 void zoomAllToFit(); |
175 |
173 |
176 private slots: |
174 private slots: |
177 void slot_toolTipTimer(); |
175 void showCameraIconTooltip(); |
178 void initializeAxes(); |
176 void initializeAxes(); |
179 void initializeLighting(); |
177 void initializeLighting(); |
180 }; |
178 }; |