]> Creatis software - clitk.git/commitdiff
- comments
authordsarrut <dsarrut>
Mon, 19 Apr 2010 07:22:26 +0000 (07:22 +0000)
committerdsarrut <dsarrut>
Mon, 19 Apr 2010 07:22:26 +0000 (07:22 +0000)
vv/vvInteractorStyleNavigator.cxx
vv/vvToolBinarize.cxx

index 831bfb98e8c4392cc041e18db2abda2b2183343c..96c45a4d24cf7d5a6641bf0d311062d315180e99 100644 (file)
@@ -280,6 +280,7 @@ void vvInteractorStyleNavigator::OnLeftButtonDown()
 //----------------------------------------------------------------------------
 void vvInteractorStyleNavigator::OnLeftButtonUp()
 {
+  //  DD("OnLeftButtonUp");
     switch (this->State)
     {
     case VTKIS_PICK:
index f8b11e3c2791c0b348d4976d03d03d13a6b69919..283428532cb666567c1c7ed11f3859108826e55c 100644 (file)
@@ -209,6 +209,7 @@ void vvToolBinarize::UpdateSlice(int slicer,int slices) {
   if (!mInteractiveDisplayIsEnabled) return;
   if (!mCurrentSlicerManager) close();
   for(int i=0;i<mCurrentSlicerManager->NumberOfSlicers(); i++) {
+    //    DD(i);
     mImageContour[i]->update(mThresholdSlider1->GetValue());
     if (mRadioButtonLowerThan->isChecked()) 
       mImageContourLower[i]->update(mThresholdSlider2->GetValue());
@@ -218,6 +219,7 @@ void vvToolBinarize::UpdateSlice(int slicer,int slices) {
 }
 //------------------------------------------------------------------------------
 
+
 //------------------------------------------------------------------------------
 void vvToolBinarize::GetArgsInfoFromGUI() {
 
@@ -311,7 +313,7 @@ void vvToolBinarize::valueChangedT2(double v) {
     for(int i=0;i<mCurrentSlicerManager->NumberOfSlicers(); i++) {
       mImageContourLower[i]->update(v);
     }
-    mCurrentSlicerManager->Render();
+    // mCurrentSlicerManager->Render();
   }
 }
 //------------------------------------------------------------------------------
@@ -327,6 +329,6 @@ void vvToolBinarize::valueChangedT1(double v) {
   for(int i=0;i<mCurrentSlicerManager->NumberOfSlicers(); i++) {
     mImageContour[i]->update(v);
   }
-  mCurrentSlicerManager->Render();
+  // mCurrentSlicerManager->Render();
 }
 //------------------------------------------------------------------------------