]> Creatis software - clitk.git/commitdiff
Debug vf display
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 2 Mar 2016 10:03:34 +0000 (11:03 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 2 Mar 2016 10:03:34 +0000 (11:03 +0100)
common/vvImage.txx
vv/vvSlicer.cxx

index 8574bfd530eeae686fe062a3e54e5019bcdfa34b..cc047bb1caf9c69bb187b52ab94311a14c81751f 100644 (file)
@@ -82,7 +82,6 @@ void vvImage::ComputeScalarRangeBase(itk::Image<TPixelType,VImageDimension> *inp
 template<class TPixelType, unsigned int VImageDimension>
 void vvImage::ComputeScalarRange(DimensionDispatchBase, itk::Image<TPixelType,VImageDimension> *input)
 {
-     cout << "try" << endl;
 }
 
 //--------------------------------------------------------------------
index 314b58ca5cff344e8a43b42885365b26c2c6c392..690ff2ab17689989ed4788a322380eaf67848170 100644 (file)
@@ -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);