]> 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 0a83e50d119a25f6239ff3b07c9857f2c0a87964..4e1a9dc880b487c8b38969c67f567e1fb44cd5a4 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 41569346fbdfaedae038fc8317aac78877cf3653..791db06f8922e537dc45409373bbf6884b49468d 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();
 }
 //------------------------------------------------------------------------------