[Paraview] Bug in Slice representation or in my XML ?

Jérôme jerome.velut at gmail.com
Sat Apr 18 08:06:07 EDT 2009


Dear list,
Please find attached an XML that will expose vtkImageGaussianSource and
vtkImageMagnitude to ParaView
First of all, vtkImageGaussianSource behaves like it does not produce any
data :
   - Add a Gaussian Source to the pipeline,
   - Apply
   - Then go to the information panel of the object inspector : No data
arrays !!

Then, a hack is to plug a Image Magnitude to the Gaussian Source.
   - Apply
   - Set a Slice representation.
   - Slice : you see a beautiful gaussian sphere centering on the center of
the volume

Now,
    - change the Gaussian Source's Std Dev parameter (without changing
representation)
    - Apply
    - Go to the representation panel of image magnitude, and try to slice...
    - You cannot ! You have to change the slice direction
    - Moreover, go to the information panel of Image Magnitude : Z dimension
has change to 1.
    - Moreover of the moreover, Gaussian Source has z dimension to 1 too !

So, Choosing "Slice representation" in the pipeline leads to changing data
information upstream. Note that this does not occur if you change gaussian
parameter while Volume, or Outline, or any other representation is active,
except Slice.
I have this problem for many other VTK filter (like vtkImageMathematic, I
told that in an other thread).

Today, I am working on a Fedora 9, Paraview CVS system. I don't think my
Windows VS9 express has this problem.
'Hope I am guilty and that you will find my mistake...

Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090418/52dc1bec/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExposingVTK.xml
Type: text/xml
Size: 3088 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090418/52dc1bec/attachment-0001.bin>


More information about the ParaView mailing list