Salome HOME
Porting to VTK 6.
[modules/visu.git] / src / VISU_I / VISU_ScalarMap_i.cc
index c8cf2c4f9ffe4d793bbd57482c7a9977b88e970c..09f824750db83a39b2e93133b54f92497821b941 100644 (file)
@@ -564,7 +564,7 @@ VISU::ScalarMap_i
     aScalarBar->SetNumberOfLabels(GetLabels());
     aScalarBar->SetLabelFormat(GetLabelsFormat());
 
-    vtkFloatingPointType anRGB[3];
+    double anRGB[3];
 
     vtkTextProperty* aTitleProp = aScalarBar->GetTitleTextProperty();
     aTitleProp->SetFontFamily(GetTitFontType());
@@ -601,7 +601,7 @@ VISU::ScalarMap_i
       aProp->SetItalic( IsItalicValLbl() );
       aProp->SetShadow( IsShadowValLbl() );
 
-      vtkFloatingPointType anRGB[ 3 ];
+      double anRGB[ 3 ];
       GetValLblFontColor( anRGB[ 0 ], anRGB[ 1 ], anRGB[ 2 ] );
       aProp->SetColor( anRGB[ 0 ], anRGB[ 1 ], anRGB[ 2 ] );
     }
@@ -655,7 +655,7 @@ struct TGetComponentMin: public SALOME_Event
 
 
 //----------------------------------------------------------------------------
-vtkFloatingPointTyp
+doubl
 VISU::ScalarMap_i
 ::GetComponentMin(vtkIdType theCompID)
 {
@@ -704,7 +704,7 @@ struct TGetComponentMax: public SALOME_Event
 
 
 //----------------------------------------------------------------------------
-vtkFloatingPointTyp
+doubl
 VISU::ScalarMap_i
 ::GetComponentMax(vtkIdType theCompID)
 {