<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>when I update the extents to be clipped using vtkImageClip in a for loop, though I call Update() method explicitly after setting new extents, the getOutput()-&gt;GetScalarPointer() always gets the same memory address and the data.&nbsp; Should I do something to request it to update the pipeline in another way?</DIV>
<DIV>&nbsp;</DIV>
<DIV>imageClip-&gt;SetInput(imageVolume);</DIV>
<DIV>extents = imageVolume-&gt;GetExtent();</DIV>
<DIV>&nbsp;</DIV>
<DIV>for (z = 0; z &lt; zLimit; z++){</DIV>
<DIV>&nbsp;&nbsp; extents[4] = extents[5] = z;</DIV>
<DIV>&nbsp;&nbsp; imageClip-&gt;SetOutputWholeExtent(extents);</DIV>
<DIV>&nbsp;&nbsp; imageClip-&gt;Update();</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; //here imageClip-&gt;GetOutput()-&gt;GetScalarPointer() always returns the same memory address and data.</DIV>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Madhu.</DIV><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://advision.webevents.yahoo.com/yahoo/votelifeengine/">Vote for the stars of Yahoo!'s next ad campaign!</a>