X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvROIActor.cxx;h=74d588328865cdfa27ca192a0d44daf5cdcb7a3d;hb=1bd2bf8d3ee24d10708d27d1347eab8467318c94;hp=e7f82f6b5fe084f2257ca3f8bba13205893b4b0f;hpb=c1f8fb924289d20bfc4b266e24ef52173df58b61;p=clitk.git diff --git a/vv/vvROIActor.cxx b/vv/vvROIActor.cxx index e7f82f6..74d5883 100644 --- a/vv/vvROIActor.cxx +++ b/vv/vvROIActor.cxx @@ -35,7 +35,7 @@ vvROIActor::vvROIActor() { mIsVisible = true; mIsContourVisible = false; - mOpacity = 0.7; + mOpacity = 0.5; mIsSelected = false; mContourWidth = 1; mContourColor.resize(3); @@ -166,10 +166,10 @@ void vvROIActor::Initialize(double depth, bool IsVisible) { mImageContour.push_back(vvImageContour::New()); mImageContour[i]->SetSlicer(mSlicerManager->GetSlicer(i)); mImageContour[i]->SetImage(mROI->GetImage()); - // Color of the contour is "complement" of roi color - mContourColor[0] = 1-mROI->GetDisplayColor()[0]; - mContourColor[1] = 1-mROI->GetDisplayColor()[1]; - mContourColor[2] = 1-mROI->GetDisplayColor()[2]; + // Color of the contour is same of roi color + mContourColor[0] = mROI->GetDisplayColor()[0]; + mContourColor[1] = mROI->GetDisplayColor()[1]; + mContourColor[2] = mROI->GetDisplayColor()[2]; mImageContour[i]->SetColor(mContourColor[0], mContourColor[1], mContourColor[2]); mImageContour[i]->SetLineWidth(mContourWidth); mImageContour[i]->SetPreserveMemoryModeEnabled(true);