[vtkusers] Update() vs. UpdateWholeExtent()

David Gobbi david.gobbi at gmail.com
Mon Jan 24 16:43:45 EST 2011


Hi Chris,

Usually they do exactly the same thing.  The only time they don't
is if you call SetUpdateExtent(int extent[6]) before calling Update().
In that case, the Update() call will only update the given extent.
But by default, Update() will update the whole extent.

 - David


On Mon, Jan 24, 2011 at 2:25 PM, chrisyeshi <chrisyeshi at gmail.com> wrote:
>
> In vtk, there are many classes that have Update() and UpdateWholeExtent()
> What are the differences between them? and when do I use one of them?
> for example, vtkImageReslice?
>
> Thanks!
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Update-vs-UpdateWholeExtent-tp3355298p3355298.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list