[vtkusers] ImageData WholeExtent/Dimensions problem

Lisa Sobierajski Avila lisa.avila at kitware.com
Fri Oct 6 10:42:46 EDT 2000


Hello John,

The
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.
>
>Setting
>data->SetWholeExtent(0,0,0,0,0,0);
>data->SetDimensions(1,1,1);
>used to set the dimensions of the image to
>1,1,1 as expected
>but now the Extent is being set to
>0,-1,0,-1,0,-1
>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)?
>
>thanks
>
>John B
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers






More information about the vtkusers mailing list