[vtkusers] Update() vs. UpdateWholeExtent()

John Drescher drescherjm at gmail.com
Mon Jan 24 19:15:44 EST 2011


On Mon, Jan 24, 2011 at 7:12 PM, chrisyeshi <chrisyeshi at gmail.com> wrote:
>
> So, in my understanding, extent is a bounding box.
>
> SetUpdateExtent() / SetOutputExtent() will set a bounding box which is
> smaller than the whole extent.
> As a result, Update() will only update the smaller bounding box.
>
> Am I correct?
>
> When I use Update() instead of UpdateWholeExtent(),
> I am getting "ERROR: ****: Updateextent does not lie within whole extent"
> "Update extent is: 0, 255, 0, 127, 0, 0"
> "Whole extent is: 0, 63, 0, 63, 0, 0"

If the whole extent on the X axis is 0 to 63 why are you specifying an
update extent of 0 to 255 which is larger?

John



More information about the vtkusers mailing list