From: David Sarrut Date: Thu, 14 Jun 2012 13:35:28 +0000 (+0200) Subject: Set contours depth at 100 to be in front of other objects X-Git-Tag: v1.3.0~27^2~9 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=efa8c0873794852b4b2536a25202a77929be3bc7;p=clitk.git Set contours depth at 100 to be in front of other objects --- 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());