Salome HOME
Porting to VTK 6.
[modules/visu.git] / src / VISUGUI / VisuGUI_SelectionPrefDlg.cxx
index d5ecab467420ee250c88f9d2929ec1282c13ce13..9f48554856fdc8f66cda2cf3f972b4aaf53d0bd8 100644 (file)
@@ -224,14 +224,14 @@ void VisuGUI_SelectionPrefDlg::update()
   myPyramidHeightSpinBox->setValue( aPickingSettings->GetPyramidHeight() );
   myPointToleranceSpinBox->setValue( aPickingSettings->GetPointTolerance() );
 
-  vtkFloatingPointType* aColor = aPickingSettings->GetColor();
+  double* aColor = aPickingSettings->GetColor();
   mySelectionColorButton->setColor( QColor( ( int )( aColor[0] * 255.0 ),
                                             ( int )( aColor[1] * 255.0 ),
                                             ( int )( aColor[2] * 255.0 ) ) );
 
   myInfoWindowGroup->setChecked( aPickingSettings->GetInfoWindowEnabled() );
   // VSR 28.06.2011 : IPAL 22513: add 0.5 to eliminate any prevision problems
-  vtkFloatingPointType transparency = aPickingSettings->GetInfoWindowTransparency() * 100.0 + 0.5;
+  double transparency = aPickingSettings->GetInfoWindowTransparency() * 100.0 + 0.5;
   myTransparencySpinBox->setValue( (int) transparency );
   myPositionComboBox->setCurrentIndex( aPickingSettings->GetInfoWindowPosition() );
   myCameraGroup->setChecked( aPickingSettings->GetCameraMovementEnabled() );
@@ -255,7 +255,7 @@ void VisuGUI_SelectionPrefDlg::onApply()
   aPickingSettings->SetPointTolerance( myPointToleranceSpinBox->value() );
 
   QColor aButtonColor = mySelectionColorButton->color();
-  vtkFloatingPointType aColor[3];
+  double aColor[3];
   aColor[0] = aButtonColor.red() / 255.0;
   aColor[1] = aButtonColor.green() / 255.0;
   aColor[2] = aButtonColor.blue() / 255.0;