From: tbaudier Date: Wed, 2 Mar 2016 10:03:34 +0000 (+0100) Subject: Debug vf display X-Git-Tag: v1.4.0~39 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ae7723944712e145d0229462b209a2ca5d9bf344;p=clitk.git Debug vf display --- 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);