]> Creatis software - clitk.git/blobdiff - vv/vvSlicer.cxx
Changment of cursor color value to keep the same color than before VTK8
[clitk.git] / vv / vvSlicer.cxx
index 550e8a034ac4395c59de133f3bc0185d44a22474..4a4a5154bbd65655e350aee34b7489068749d1e4 100644 (file)
@@ -135,7 +135,7 @@ vvSlicer::vvSlicer()
 
   pdmA = vtkSmartPointer<vtkActor2D>::New();
   pdmA->SetMapper(pdm);
-  pdmA->GetProperty()->SetColor(255,10,212);
+  pdmA->GetProperty()->SetColor(1,0,0);
   pdmA->SetVisibility(0);
   pdmA->SetPickable(0);
 
@@ -269,7 +269,7 @@ void vvSlicer::ToggleContourSuperposition()
 
 
 //------------------------------------------------------------------------------
-void vvSlicer::SetCursorColor(int r,int g, int b)
+void vvSlicer::SetCursorColor(double r, double g, double b)
 { 
   pdmA->GetProperty()->SetColor(r,g,b);
 }