From: David Sarrut Date: Fri, 29 Jun 2012 12:02:40 +0000 (+0200) Subject: ROI overlay is not linearly interpolated by default X-Git-Tag: v1.3.0~27^2~2 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ee56dc1c6ed5bdea1614c5885c5d556a072b297c;p=clitk.git ROI overlay is not linearly interpolated by default --- diff --git a/vv/vvBinaryImageOverlayActor.cxx b/vv/vvBinaryImageOverlayActor.cxx index 4f2e961..a801ba0 100644 --- a/vv/vvBinaryImageOverlayActor.cxx +++ b/vv/vvBinaryImageOverlayActor.cxx @@ -136,7 +136,11 @@ void vvBinaryImageOverlayActor::Initialize(bool IsVisible) mOverlayActor->SetInput(mOverlayMapper->GetOutput()); mOverlayActor->SetPickable(0); mOverlayActor->SetVisibility(IsVisible); - //mOverlayActor->SetOpacity(1.0); + //mOverlayActor->SetOpacity(1.0); + + // FIXME : by default overlay is not interpolated. + // mOverlayActor->SetInterpolate(mSlicer->GetImageActor()->GetInterpolate()); + mOverlayActor->InterpolateOff(); mMapperList.push_back(mOverlayMapper); mImageActorList.push_back(mOverlayActor);