]> Creatis software - clitk.git/commitdiff
Remove Render for ROI and Contours
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 5 Jul 2016 09:19:19 +0000 (11:19 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 5 Jul 2016 09:19:19 +0000 (11:19 +0200)
Seems to speed up the display process when you change of slice or move the pointer

vv/vvROIActor.cxx
vv/vvToolROIManager.cxx

index 0a83e50..4e1a9dc 100644 (file)
@@ -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();
 }
 //------------------------------------------------------------------------------
 
index 4156934..791db06 100644 (file)
@@ -553,7 +553,7 @@ void vvToolROIManager::UpdateAllContours()
   for(unsigned int i=0; i<mROIList.size(); i++) {
     mROIActorsList[i]->Update();
   }
-  mCurrentSlicerManager->Render();
+  //mCurrentSlicerManager->Render();
 }
 //------------------------------------------------------------------------------