[vtkusers] ImageData WholeExtent/Dimensions problem
Lisa Sobierajski Avila
lisa.avila at kitware.com
Fri Oct 6 10:46:08 EDT 2000
The Extent is the part actually updated, which comes from the UpdateExtent
which is either set explicitly, or is set by an upstream source / data
object. How is your filter getting the Update call - directly, or from
upstream? What is your UpdateExtent? If the UpdateExtent is 0 -1 0 -1 0 -1
then the filter should automatically change this to the whole extent. There
were some changes to this logic from 2.4 to 3.1.
At 07:54 PM 10/5/2000, John Biddiscombe wrote:
>I'm averaging some 2D data and producing a final value which in
>some cases consists of a single pixel.
>used to set the dimensions of the image to
>1,1,1 as expected
>but now the Extent is being set to
>and dimensions are returned as 0,0,0
>causing most grievious access violations when allocating scalars
>and writing to memory.
>Has someone changed the functionality to handle UpdateExtents and
>streaming issues differently (invalid update extents)?
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
>Follow this link to subscribe/unsubscribe:
More information about the vtkusers