]> Creatis software - clitk.git/commitdiff
ROI overlay is not linearly interpolated by default
authorDavid Sarrut <david.sarrut@gmail.com>
Fri, 29 Jun 2012 12:02:40 +0000 (14:02 +0200)
committerDavid Sarrut <david.sarrut@gmail.com>
Fri, 29 Jun 2012 12:02:40 +0000 (14:02 +0200)
vv/vvBinaryImageOverlayActor.cxx

index 4f2e961995f4e85655ea55244a769612769d56a7..a801ba0c27862f3957d87f59eeba766ff75bf9ac 100644 (file)
@@ -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);