From efa8c0873794852b4b2536a25202a77929be3bc7 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Thu, 14 Jun 2012 15:35:28 +0200 Subject: [PATCH] Set contours depth at 100 to be in front of other objects --- vv/vvToolBinarize.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vv/vvToolBinarize.cxx b/vv/vvToolBinarize.cxx index fa22daa..9859d01 100644 --- a/vv/vvToolBinarize.cxx +++ b/vv/vvToolBinarize.cxx @@ -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()); -- 2.45.1