Hi Chris,<div><br></div><div>The SetUpdateExtent() method is a vtkImageData method, not a</div><div>vtkImageReslice method.  I.e. you would call</div><div>reslice-&gt;GetOutput()-&gt;SetUpdateExtent(extent)</div><div>before calling Update().  This method has existed in vtkImageData</div>

<div>since at least VTK 2.0.</div><div><br></div><div>But since you have things working, you shouldn&#39;t worry about it.</div><div>The SetUpdateExtent() method is really only meant to be used</div><div>by the pipeline, application developers usually shouldn&#39;t call it</div>

<div>themselves.</div><div><br></div><div> - David</div><div><br></div><div><br><div class="gmail_quote">On Fri, Jan 28, 2011 at 2:22 PM, chrisyeshi <span dir="ltr">&lt;<a href="mailto:chrisyeshi@gmail.com">chrisyeshi@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
First, thank you very much!<br>
<br>
I finally got them to change from Update() to UpdateWholeExtent(), and now<br>
everything works fine.<br>
The reason it happens is that we are using an old version of vtk. There is<br>
no SetUpdateExtent(), only SetOuputExtent(). So when SetOutputExtent() is<br>
called the first time, it effectively sets the update extent and whole<br>
extent to the same value. Then when SetOutputExtent() is called the second<br>
time with a smaller extent, it only sets the whole extent. As a result, the<br>
extent error occurs when Update() is called.<br>
<br>
Switching to UpdateWholeExtent() solves the problem. Thank you again!<br>
<font color="#888888">--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Update-vs-UpdateWholeExtent-tp3355298p3362156.html" target="_blank">http://vtk.1045678.n5.nabble.com/Update-vs-UpdateWholeExtent-tp3355298p3362156.html</a><br>


</font><div><div></div><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>