From: srit Date: Fri, 23 Apr 2010 09:14:16 +0000 (+0000) Subject: Display window and level when using local windowing X-Git-Tag: v1.2.0~695 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=69a7cdd54834a664dde76b0aed42ac466ac325f9;p=clitk.git Display window and level when using local windowing --- diff --git a/vv/vvSlicerManager.cxx b/vv/vvSlicerManager.cxx index 9c64ded..b14bfde 100644 --- a/vv/vvSlicerManager.cxx +++ b/vv/vvSlicerManager.cxx @@ -1084,6 +1084,7 @@ void vvSlicerManager::SetLocalColorWindowing(const int slicer) this->mSlicers[slicer]->GetExtremasAroundMousePointer(min, max); this->SetColorWindow(max-min); this->SetColorLevel(0.5*(min+max)); + this->UpdateWindowLevel(); this->Render(); } //----------------------------------------------------------------------------