From: tbaudier Date: Mon, 7 Dec 2015 12:40:39 +0000 (+0100) Subject: Debug VF/Landmarks + Crop X-Git-Tag: v1.4.0~88 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1f02bb13d55b6c0a99729c7c173aa01e85fd7f1e;p=clitk.git Debug VF/Landmarks + Crop --- diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index c608c1b..3773aa0 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -1195,7 +1195,7 @@ void vvSlicer::UpdateDisplayExtent() #if VTK_MAJOR_VERSION <= 5 bool out = ClipDisplayedExtent(vfExtent, mVOIFilter->GetInput()->GetWholeExtent()); #else - bool out = ClipDisplayedExtent(vfExtent, this->GetExtent()); + bool out = ClipDisplayedExtent(vfExtent, mImage->GetVTKImages()[mCurrentTSlice]->GetInformation()->Get(vtkDataObject::DATA_EXTENT())); #endif mVFActor->SetVisibility(!out); mVOIFilter->SetVOI(vfExtent);