[vtkusers] Where is the format of UPDATE_EXTENT / WHOLE_EXTENT documented?

Cory Quammen cory.quammen at kitware.com
Wed Apr 13 10:06:25 EDT 2016


On Wed, Apr 13, 2016 at 9:00 AM, Elvis Stansvik
<elvis.stansvik at orexplore.com> wrote:
> Hi all,
>
> This is a very basic question, but I've searched through a lot of VTK docs
> without finding anything conclusive: Where is the format for the
> UPDATE_EXTENT / WHOLE_EXTENT pipeline information keys documented?
>
> From looking at various examples, I understand that the extents are an array
> of 6 doubles, but in which order do the boundaries come in the array? [x0,
> x1, y0, y1, z0, z1], or [z0, z1, y0, y1, x0, x1], or something else?

The first one. Note also that x1, y1, and z1 are the maximum valid
index in the extent, not the size.

> Where in general can I expect to find docs for commonly used information
> keys like this?

Perhaps this page will help:

http://www.vtk.org/doc/nightly/html/group__InformationKeys.html

-- 
Cory Quammen
R&D Engineer
Kitware, Inc.


More information about the vtkusers mailing list