From: tbaudier Date: Tue, 5 Jul 2016 09:19:19 +0000 (+0200) Subject: Remove Render for ROI and Contours X-Git-Tag: v1.4.0~15 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ff3c1e053bf8fbd47cfa16c7369ce3b484a20964;p=clitk.git Remove Render for ROI and Contours Seems to speed up the display process when you change of slice or move the pointer --- diff --git a/vv/vvROIActor.cxx b/vv/vvROIActor.cxx index 0a83e50..4e1a9dc 100644 --- a/vv/vvROIActor.cxx +++ b/vv/vvROIActor.cxx @@ -252,7 +252,7 @@ void vvROIActor::UpdateSlice(int slicer, int slices, int force) if (mIsVisible) { mOverlayActors[slicer]->UpdateSlice(slicer, slices, force); } - mSlicerManager->GetSlicer(slicer)->Render(); + //mSlicerManager->GetSlicer(slicer)->Render(); } //------------------------------------------------------------------------------ diff --git a/vv/vvToolROIManager.cxx b/vv/vvToolROIManager.cxx index 4156934..791db06 100644 --- a/vv/vvToolROIManager.cxx +++ b/vv/vvToolROIManager.cxx @@ -553,7 +553,7 @@ void vvToolROIManager::UpdateAllContours() for(unsigned int i=0; iUpdate(); } - mCurrentSlicerManager->Render(); + //mCurrentSlicerManager->Render(); } //------------------------------------------------------------------------------