[Paraview] Trouble with Pipeline and image filters in ParaView

John Biddiscombe biddisco at cscs.ch
Fri May 20 06:10:29 EDT 2005


NB. vtkImageShrink3D also stuffs paraview up. (It's actually much worse, 
since it doesn't set any bounds or etxtent at all. At least I know the 
LEA code is not the problem)

The image filters all suffer from the same trouble of setting the output 
information, but this is never copied into the actual image object. I 
manually do this at the end of the RequestData call, but ImageShrink3D 
does not. Paraview can't see anything (especially as it probably isn't 
setting updateextent to wholeextent before executing the pipeline...)

JB

John Biddiscombe wrote:

> I've been trying to get the LEA code working correctly with the new 
> pipeline, but I seem to be having difficulty displaying correct output 
> in Paraview. No matter what I set the output extent of the image to 
> after processing an input, Paraview seems to somehow override my 
> Extents and put the extent of the input image in the "information" tab 
> of the display.
>
> For example, input is 0-39 x 0-39, output should be 0-127 x 0-127, but 
> paraview at first displays only a 0-39 square piece of the image. 
> Interestingly, if I change display from Surface to outline, the 
> outline jumps back to the correct size, then for a while, the 
> information displayed changes (saying 0-127 correctly). Changing back 
> to surface/outline/surface/outline causes the displayed image to 
> change size each time back and forth between 39 and 128.
>
> I've had a great deal of trouble getting anything sensible using 
> imaging filters inside paraview and I wonder if there's something 
> desperately broken deep inside it. (at least image filters that change 
> the information = spacing/bounds/extents)
>
> Has anyone got any advice? (next I'm going to wrap vtkImageShrink3D in 
> xml and see if it also breaks Paraview).
>
> thanks
>
> JB
>

-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the ParaView mailing list