From ee56dc1c6ed5bdea1614c5885c5d556a072b297c Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 29 Jun 2012 14:02:40 +0200 Subject: [PATCH] ROI overlay is not linearly interpolated by default --- vv/vvBinaryImageOverlayActor.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.47.1