Sounds good. As long as you don't find something that will break horribly, I don't have any objections to this change. In general, I don't like adding specialized functionality to the executives because it makes them harder to maintain but we don't have a better solution yet. Please make sure that the key and its use are commented so that future maintainers know what it is for.<div>
<br></div><div>-berk<br><br><div class="gmail_quote">On Fri, Nov 19, 2010 at 3:56 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I only plan to use UNRESTRICTED_UPDATE_EXTENT for vtkImageStencilData<br>
sources, for which I know it is safe, but yes, I was also considering<br>
that it could be used by vtkImageData sources somewhere down the road.<br>
<br>
Fortunately, the separation of RequestInformation and RequestData<br>
really helps the image algorithms to not make assumptions.<br>
RequestInformation deals with WholeExtent, RequestData deals<br>
with the Extent. I will look through the existing filters to see if any<br>
RequestData/Execute methods use WholeExtent for anything... those<br>
are the filters that might break.<br>
<font color="#888888"><br>
David<br>
</font><div><div></div><div class="h5"><br>
On Fri, Nov 19, 2010 at 12:32 PM, Berk Geveci <<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>> wrote:<br>
> This concerns me a bit. There may be algorithms that assume that update<br>
> extent and data extent will be equal to or less than the whole extent. What<br>
> happens if one of those is in the pipeline?<br>
> -berk<br>
><br>
> On Tue, Nov 16, 2010 at 9:28 AM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
>><br>
>> I've put a patch on gerrit that cleans up some of the VTK stencil code:<br>
>> <a href="http://review.source.kitware.com/#change,366" target="_blank">http://review.source.kitware.com/#change,366</a><br>
>> The idea is that algorithms can set UNRESTRICTED_UPDATE_EXTENT on any<br>
>> outputs that can be generated for any requested update extent, i.e.<br>
>> neither the update extent or data extent is limited to the whole<br>
>> extent. My intent is to only use it with vtkImageStencilSource, but<br>
>> it might have other uses.<br>
>><br>
>> David<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>><br>
><br>
><br>
</div></div></blockquote></div><br></div>