]> Creatis software - clitk.git/commitdiff
Set contours depth at 100 to be in front of other objects
authorDavid Sarrut <david.sarrut@gmail.com>
Thu, 14 Jun 2012 13:35:28 +0000 (15:35 +0200)
committerDavid Sarrut <david.sarrut@gmail.com>
Thu, 14 Jun 2012 13:35:28 +0000 (15:35 +0200)
vv/vvToolBinarize.cxx

index fa22daad122e54bb2337d1feb1700f40bbd152e0..9859d01adcc101812cd644e4e15b966fbc657f9c 100644 (file)
@@ -214,9 +214,11 @@ void vvToolBinarize::InputIsSelected(vvSlicerManager * m)
     mImageContour.push_back(vvImageContour::New());
     mImageContour[i]->SetSlicer(mCurrentSlicerManager->GetSlicer(i));
     mImageContour[i]->SetColor(1.0, 0.0, 0.0);
+    mImageContour[i]->SetDepth(100); // to be in front of (whe used with ROI tool)
     mImageContourLower.push_back(vvImageContour::New());
     mImageContourLower[i]->SetSlicer(mCurrentSlicerManager->GetSlicer(i));
     mImageContourLower[i]->SetColor(0.0, 0.0, 1.0);
+    mImageContourLower[i]->SetDepth(100); // to be in front of (whe used with ROI tool)
   }
   valueChangedT1(mThresholdSlider1->GetValue());