void GLWidget::setZRotation(int angle) { qNormalizeAngle(angle); if (angle != zRot_) { zRot_ = angle; emit zRotationChanged(angle); updateGL(); } }
void CompasWidget::setZRotation(int angle){ qNormalizeAngle(angle); if (angle != m_zRot) { m_zRot = angle; emit zRotationChanged(angle); update(); } }
void GLWidget::setZRotation( int angle ) { qNormalizeAngle( angle ); // Helper will fix the angle if (angle != zRot) { zRot = angle; emit zRotationChanged( angle ); updateGL(); // Given to us from QGLWidget! } }
void MyGLWidget::setZRotation(int angle) { qNormalizeAngle(angle); if (angle != z_axis) { z_axis = angle; emit zRotationChanged(angle); updateGL(); } }
void OpenGLContainer::setZRotation(double angle) { normalizeAngle(angle); if (angle != zRot) { zRot = angle; emit zRotationChanged(angle); updateGL(); } }
void Visualizer::setZRotation(int angle) { qNormalizeAngle(angle); if (angle != zRot) { zRot = angle; emit zRotationChanged(angle); updateGL(); } }
void CoordSysWidget::setZRotation(int angle) { normalizeAngle(&angle); if (angle != zRot) { zRot = angle; emit zRotationChanged(angle); updateGL(); } }
void QCastViewGL::setZRotation(float angle) { qNormalizeAngle(angle); if (angle != zRot) { zRot = angle; emit zRotationChanged(angle); updateGL(); } }
void IGLWidget::setZRotation(int i_angle) { qNormalizeAngle(i_angle); if(i_angle != m_zRot) { m_zRot = i_angle; emit zRotationChanged(i_angle); update(); } }
// Update the rotation around Z if necessary void ObjectOpenGL::SetZRotation(int angle) { NormalizeAngle(&angle); if (angle != zRot) { zRot = angle; emit zRotationChanged(angle); updateGL(); } }
void QGLFrame::setZRotation(int angle) { if (angle != zRot) { zRot = angle; emit zRotationChanged(angle); RenderThread.zRot = zRot; RenderThread.paintGL(); } }
int InputView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QGLWidget::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: xRotationChanged((*reinterpret_cast< int(*)>(_a[1]))); break; case 1: yRotationChanged((*reinterpret_cast< int(*)>(_a[1]))); break; case 2: zRotationChanged((*reinterpret_cast< int(*)>(_a[1]))); break; case 3: setXRotation((*reinterpret_cast< int(*)>(_a[1]))); break; case 4: setYRotation((*reinterpret_cast< int(*)>(_a[1]))); break; case 5: setZRotation((*reinterpret_cast< int(*)>(_a[1]))); break; default: ; } _id -= 6; } return _id; }