X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvSlicer.cxx;h=302da7eae2689d6d7ef7d2657a6fa42e80babc4f;hb=fa8ffff2bc630030df29be49e0779da63398d7ba;hp=6b52ea1abc1e7b5f737946df19c1e2748bc7cf64;hpb=b04b454b9a596cbd2873b298a318b5899498d7c8;p=clitk.git diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index 6b52ea1..302da7e 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -369,7 +369,8 @@ void vvSlicer::SetOverlay(vvImage::Pointer overlay) this->GetRenderer()->AddActor(mOverlayActor); //Synchronize orientation and slice - this->SetSliceOrientation(this->SliceOrientation); + AdjustResliceToSliceOrientation(mOverlayReslice); + this->UpdateDisplayExtent(); this->SetTSlice(mCurrentTSlice); } } @@ -412,7 +413,8 @@ void vvSlicer::SetFusion(vvImage::Pointer fusion) } //Synchronize orientation and slice - this->SetSliceOrientation(this->SliceOrientation); + AdjustResliceToSliceOrientation(mFusionReslice); + this->UpdateDisplayExtent(); this->SetTSlice(mCurrentTSlice); } }