<div dir="ltr"><div><div><div><div><div><div><div><div><div>Dear all,<br><br></div>I am struggling with the pipeline mechanism.<br></div>I wrote an image reader that wraps the ITK gdcm reader. When I change the directory, <br>the reader does update. However, if the extent of the second volume is larger than the <br></div>first one, I get the warning message :<br><br>ERROR: In C:\Users\Jerome\Dev\VTK\vtk-src\Common\ExecutionModel\vtkStreamingDemandDrivenPipeline.cxx, line 857<br>vtkCompositeDataPipeline (000002913075DB70): The update extent specified in the information for output port 0 on algorithm vtkITKGDCMImageReader(000002913074A470) is 0 255 0 255 0 255, which is outside the whole extent 0 255 0 255 0 197.<br><br></div>Strangely, I wrote a simple test for this reader and the warning is not thrown. The test set the file path, updates, then changes the file path and updates again. The warning appears in a more complicated pipeline.<br><br></div>The odd is that I implemented the RequestUpdateExtent, that simply returns the Superclass::RequestUpdateExtent result. In the simple test, this function is called at each pipeline update. In the full application, it is not called the second time (while requestInformation is correctly called...).<br><br></div>I guess the pipeline does not notify correctly the reader to change the update extent. But why?<br></div>I found this thread which may be close to my issue :<br><a href="http://markmail.org/search/?q=update_extent+not+updated#query:update_extent%20not%20updated+page:1+mid:xmi3dp3xqbnp2hzv+state:results">http://markmail.org/search/?q=update_extent+not+updated#query:update_extent%20not%20updated+page:1+mid:xmi3dp3xqbnp2hzv+state:results</a><br><br></div>Thanks a lot !<br></div>Jerome<br></div>