The vtkImageActor fails if inputs WholeExtent changes
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The image actor sets its DisplayExtent the first time it runs, but if the WholeExtent of the input ever changes afterwards in such a way the DisplayExtent is no longer within the WholeExtent, there is an error:
ERROR: In \vtk\source\Filtering\vtkStreamingDemandDrivenPipeline.cxx, line 628 vtkStreamingDemandDrivenPipeline (026B50E8): The update extent specified in the information for output port 0 on algorithm vtkImageReslice(026B4028) is 182 182 0 359 0 177, which is outside the whole extent 0 363 0 359 0 0.
The vtkImageActor should not set its DisplayExtent ivar itself, it should have a protected ivar that it sets and uses instead. The DisplayExtent ivar should only get set by the SetDisplayExtent() method.