From ae7723944712e145d0229462b209a2ca5d9bf344 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Wed, 2 Mar 2016 11:03:34 +0100 Subject: [PATCH] Debug vf display --- common/vvImage.txx | 1 - vv/vvSlicer.cxx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/vvImage.txx b/common/vvImage.txx index 8574bfd..cc047bb 100644 --- a/common/vvImage.txx +++ b/common/vvImage.txx @@ -82,7 +82,6 @@ void vvImage::ComputeScalarRangeBase(itk::Image *inp template void vvImage::ComputeScalarRange(DimensionDispatchBase, itk::Image *input) { - cout << "try" << endl; } //-------------------------------------------------------------------- diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index 314b58c..690ff2a 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -1187,7 +1187,7 @@ void vvSlicer::UpdateDisplayExtent() #else //this->UpdateInformation(); this->ConvertImageToImageDisplayExtent(mImageReslice->GetOutputInformation(0), w_ext, mVF->GetVTKImages()[0], vfExtent); - bool out = ClipDisplayedExtent(vfExtent, mVOIFilter->GetInputInformation()->Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT())); + bool out = ClipDisplayedExtent(vfExtent, mImage->GetVTKImages()[mCurrentTSlice]->GetInformation()->Get(vtkDataObject::DATA_EXTENT())); #endif mVFActor->SetVisibility(!out); mVOIFilter->SetVOI(vfExtent); -- 2.47.1