]> Creatis software - clitk.git/commitdiff
add "Render" where it is needed (not done anymore by "Update")
authordsarrut <dsarrut>
Thu, 27 May 2010 09:32:36 +0000 (09:32 +0000)
committerdsarrut <dsarrut>
Thu, 27 May 2010 09:32:36 +0000 (09:32 +0000)
vv/vvToolBinarize.cxx

index afd07b12069c6b5d01dc8a8ad985c6eaa2572d9a..07089739dc6b961cd2777b6cf1e5a9cdfb70b0cc 100644 (file)
@@ -239,7 +239,6 @@ void vvToolBinarize::UpdateSlice(int slicer,int slices)
   mImageContour[slicer]->Update(mThresholdSlider1->GetValue());
   if (mRadioButtonLowerThan->isChecked()) 
     mImageContourLower[slicer]->Update(mThresholdSlider2->GetValue());
-  //  mCurrentSlicerManager->GetSlicer(slicer)->Render(); 
 }
 //------------------------------------------------------------------------------
 
@@ -339,7 +338,7 @@ void vvToolBinarize::valueChangedT2(double v)
     for(int i=0;i<mCurrentSlicerManager->NumberOfSlicers(); i++) {
       mImageContourLower[i]->Update(v);
     }
-    // mCurrentSlicerManager->Render();
+    mCurrentSlicerManager->Render();
   }
 }
 //------------------------------------------------------------------------------
@@ -356,6 +355,6 @@ void vvToolBinarize::valueChangedT1(double v)
   for(int i=0;i<mCurrentSlicerManager->NumberOfSlicers(); i++) {
     mImageContour[i]->Update(v);
   }
-  // mCurrentSlicerManager->Render();
+  mCurrentSlicerManager->Render();
 }
 //------------------------------------------------------------------------------