From 1f02bb13d55b6c0a99729c7c173aa01e85fd7f1e Mon Sep 17 00:00:00 2001 From: tbaudier Date: Mon, 7 Dec 2015 13:40:39 +0100 Subject: [PATCH] Debug VF/Landmarks + Crop --- vv/vvSlicer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.1