Great.<div><br></div><div><br><div class="gmail_quote">On Fri, Nov 19, 2010 at 3:29 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;">
It was crashing in AllocateData for vtkImageData.  As long as you<br>
think that the empty extent solution is fine, then I can find out why<br>
it isn't working and then post a fix on Gerrit for you to review.  I'm<br>
hoping that only minor changes will be required, but that remains to<br>
be seen.<br>
<font color="#888888"><br>
  David<br>
</font><div><div></div><div class="h5"><br>
<br>
On Fri, Nov 19, 2010 at 12:35 PM, Berk Geveci <<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>> wrote:<br>
> I'd say that we should make it possible to ask for an empty extent. Where is<br>
> it crashing?<br>
><br>
> On Thu, Nov 18, 2010 at 12:25 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
>><br>
>> Hi All,<br>
>><br>
>> I'm working on a difficult problem, and would appreciate any pointers<br>
>> that the pipeline experts can give me.  Some of the classes that I<br>
>> contributed to VTK way back before the VTK 5 release still use some<br>
>> VTK 4 pipeline mechanisms.  I've been gradually converting them to the<br>
>> new executive, but I've a wall.<br>
>><br>
>> In vtkImageReslice there is a method called SetInformationInput(),<br>
>> that allows the primary input image to be resampled to match the<br>
>> "information input" image.  I implemented this by calling<br>
>> UpdateInformation() on the InformationInput, so that I can pull just<br>
>> the information from that input and not the data.<br>
>><br>
>> In the VTK 5 executive, there does not seem to be any way to establish<br>
>> a pipeline connection that only pulls information.  When REQUEST_DATA<br>
>> goes to the executive it is always forwarded to all inputs.  I've<br>
>> tried the obvious thing, which is to set an empty UPDATE_EXTENT on the<br>
>> input that I don't want any data from, but this causes a segfault.<br>
>><br>
>> Any ideas?<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>