Example #1
0
void GLWidget::setZRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != zRot) {
        zRot = angle;
    }
}
Example #2
0
 void GLViewer::setZRotation(int angle)
 {
     qNormalizeAngle(angle);
     if (angle != zRot) {
         zRot = angle;
         updateGL();
     }
 }
Example #3
0
//calculo del angulo sobre el eje y
void graficos::setYRotation(float angle)
{
    qNormalizeAngle(angle);
    if (angle != yRot) {
        yRot = angle;
		pcamara[1] = 10*cos((yRot/16)*PI/180);
    }
}
Example #4
0
//calculo del angulo sobre el eje x
void graficos::setXRotation(float angle)
{
    qNormalizeAngle(angle);
    if (angle != xRot) {
        xRot = angle;
		pcamara[0] = 10*sin((xRot/16)*PI/180);
    }
}
Example #5
0
void GLWidget::setZRotation(int angle) {
    qNormalizeAngle(angle);
    if (angle != zRot_) {
        zRot_ = angle;
        emit zRotationChanged(angle);
        updateGL();
    }
}
Example #6
0
void RotateGraphics::setZRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != zRot) {
        zRot = angle;
        updatePaintGL();
    }
}
Example #7
0
void GLWidget::setYRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != yRot) {
        yRot = angle;
        updateGL();
    }
}
Example #8
0
void CompasWidget::setZRotation(int angle){
	qNormalizeAngle(angle);
	if (angle != m_zRot) {
		m_zRot = angle;
		emit zRotationChanged(angle);
		update();
	}
}
void Visualizer::setYRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != yRot) {
        yRot = angle;
        emit yRotationChanged(angle);
        updateGL();
    }
}
Example #10
0
void view::setZRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != m_zRot) {
        m_zRot = angle;
        //emit zRotationChanged(angle);
        update();
    }
}
Example #11
0
void GLWidget::setYRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != rotation[1]) {
        rotation[1] = angle;
        emit yRotationChanged(angle);
        updateGL();
    }
}
void PainelOpenGL::setZRotation(int angle)
{
    qNormalizeAngle(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();
   }
}
Example #14
0
void GLWidget::setYRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != m_yRot) {
        m_yRot = angle;
        emit yRotationChanged(angle);
        update();
    }
}
Example #15
0
/**
 * @brief AqtGlWidget::setZRotation Sets the Z Rotation angle
 * @param angle
 **/
void AqtGlWidget::setZRotation(int angle )
{
    qNormalizeAngle(angle);
    if( angle != coords.zAngle) {
        coords.zAngle = angle;
        emit zRotationAngleChanged(QString::number(angle));
        updateGL();
    }
}
Example #16
0
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!
        }
}
Example #17
0
//! [5]
void GLWidget::setXRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != xRot) {
        xRot = angle;
        emit xRotationChanged(angle);
        updateGL();
    }
}
Example #18
0
void MyGLWidget::setZRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != z_axis) {
        z_axis = angle;
        emit zRotationChanged(angle);
        updateGL();
    }
}
Example #19
0
void imageGLWidget::setYRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != yRot) {
        yRot = angle;
        emit yRotationChanged(angle);
        updateGL();
    }
}
Example #20
0
void IGLWidget::setZRotation(int i_angle)
{
    qNormalizeAngle(i_angle);
    if(i_angle != m_zRot)
    {
        m_zRot = i_angle;
        emit zRotationChanged(i_angle);
        update();
    }
}
Example #21
0
void Viewer::setXRotation(int angle){
    qNormalizeAngle(angle);
    if (angle != xRot) xRot = angle;
}
Example #22
0
 void win3d::setYRotation(int angle)
 {
     qNormalizeAngle(angle);
     if (angle != yRot)
         yRot = angle;
 }
Example #23
0
void GLWidget::setYRotation(int angle)
{
    qNormalizeAngle(angle);
    esc->mou_EixYCamera(angle);
}
Example #24
0
void GLWidget::setXRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != xRot)
        xRot = angle;
}
Example #25
0
void GLWidget::setYRotation(int angle)
{
    qNormalizeAngle(angle);
    if (angle != yRot)
        yRot = angle;
}
Example #26
0
 void win3d::setZRotation(int angle)
 {
     qNormalizeAngle(angle);
     if (angle != zRot)
         zRot = angle;
 }
Example #27
0
 void win3d::setXRotation(int angle)
 {
     qNormalizeAngle(angle);
     if (angle != xRot)
         xRot = angle;
 }
Example #28
0
void Viewer::setZRotation(int angle){
    qNormalizeAngle(angle);
    if (angle != zRot) zRot = angle;
}
Example #29
0
void Viewer::setYRotation(int angle){
    qNormalizeAngle(angle);
    if (angle != yRot) yRot = angle;
}