void ccCameraParamEditDlg::dPsiValueChanged(double val) { m_ui->psiSlider->blockSignals(true); m_ui->psiSlider->setValue(qFloor(val * 10.0)); m_ui->psiSlider->blockSignals(false); reflectParamChange(); }
void ccCameraParamEditDlg::dPhiValueChanged(double val) { phiSlider->blockSignals(true); phiSlider->setValue(val * 10.0); phiSlider->blockSignals(false); reflectParamChange(); }
void ccCameraParamEditDlg::dThetaValueChanged(double val) { thetaSlider->blockSignals(true); thetaSlider->setValue((int)(val*10.0)); thetaSlider->blockSignals(false); reflectParamChange(); }
void ccCameraParamEditDlg::dPsiValueChanged(double val) { psiSlider->blockSignals(true); psiSlider->setValue(static_cast<int>(val*10.0)); psiSlider->blockSignals(false); reflectParamChange(); }
void ccCameraParamEditDlg::iPsiValueChanged(int val) { psiSpinBox->blockSignals(true); psiSpinBox->setValue(val / 10.0); psiSpinBox->blockSignals(false); reflectParamChange(); }
void ccCameraParamEditDlg::iThetaValueChanged(int val) { m_ui->thetaSpinBox->blockSignals(true); m_ui->thetaSpinBox->setValue(val / 10.0); m_ui->thetaSpinBox->blockSignals(false); reflectParamChange(); }
void ccCameraParamEditDlg::iThetaValueChanged(int val) { thetaSpinBox->blockSignals(true); thetaSpinBox->setValue((double)val/10); thetaSpinBox->blockSignals(false); reflectParamChange(); }
void ccCameraParamEditDlg::iPsiValueChanged(int val) { psiSpinBox->blockSignals(true); psiSpinBox->setValue(static_cast<double>(val)/10); psiSpinBox->blockSignals(false); reflectParamChange(); }