I'd say that we should make it possible to ask for an empty extent. Where is it crashing?<br><br><div class="gmail_quote">On Thu, Nov 18, 2010 at 12:25 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;">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 <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>
</blockquote></div><br>