[Paraview] Bug report: tube diameter in paraview 4.01

Moreland, Kenneth kmorel at sandia.gov
Mon Jun 23 14:17:58 EDT 2014


I figured it out. The problem is that to point coordinates in your data
files are integers instead of floating points. The tube filter is
inheriting the int storage for point coordinates and then rounding to the
nearest integer. This must have been a change in VTK somewhere between
ParaView 3.98 and 4.0.1 (probably to correctly inherit the float/double
precision of point coordinates).

The problem fixes itself if you change the point coordinates of your input
to be floating point numbers. I've attached modified versions of the two
data files that work correctly.

-Ken



On 6/23/14 1:49 AM, "Dieter Froning" <d.froning at fz-juelich.de> wrote:

>dear Ken,
>
>thank you very much for your reply. Please excuse my late answer, I am
>just back from a business trip.
>
>I attached 2 examples of the same type. You can load them via the state
>file *.pvsm. Pleas note that there are absolute paths in the pvsm files,
>so you need to select the files specified from the proper place when you
>load the pvsm files.
>
>The small example "dieter-2.pvsm" works fine for both paraview 3.98 and
>4.01. It loads the files dieter-3.vtk and dieter-4.vtk.
>
>The larger example works fine for paraview 3.98 but the tube glyphs look
>exploded in paraview 4.01. It loads the files porennetz2.vtk and
>porennetzrot2.vtk. I attached two screenshots from paraview 3.98 and
>4.01 (output*.eps).
>
>The principle in both examples are:
>A graph is read with its nodes plotted as spheres and with its edges
>plotted as tubes. A 2nd vtk file is read which contains a sun-graph (in
>particular: a shortest path between 2 positions). Its edges are again
>plotted as tubes. Those tubes are colored in red and their diameters are
>a little bit larger then the others to make them visible.
>We chose paraview for visualization because of our positive experience
>with the software from other applications.
>
>Please let me know if you need further info about the examples.
>-- 
>mit freundlichen Gruessen / best regards
>
>D i e t e r   F r o n i n g
>
>Institute of Energy and Climate Research (IEK)
>IEK-3: Electrochemical Process Engineering
>tel.: +49 2461 61-6676
>fax:  +49 2461 61-6695
>e-mail: d.froning at fz-juelich.de
>
>
>On Sat, 2014-06-14 at 14:47 +0000, Moreland, Kenneth wrote:
>> Dieter,
>> 
>> Can you give some steps that cause the problem? I tried changing the
>> radius in the tube filter and it is working fine for me. Maybe you are
>> doing something different that I have not tried.
>> 
>> -Ken
>> 
>> 
>> 
>> On 6/13/14 7:20 AM, "Dieter Froning" <d.froning at fz-juelich.de> wrote:
>> 
>> >I am using paraview 4.1.0 (linux 64 bit).
>> >
>> >The diameter of the tube filter is ignored.
>> >paraview 3.98 is working well.
>> >--
>> >mit freundlichen Gruessen / best regards
>> >
>> >D i e t e r   F r o n i n g
>> >
>> >Institut fuer Energie- und Klimaforschung (IEK)
>> >IEK-3: Elektrochemische Verfahrenstechnik
>> >tel.: +49 2461 61-6676
>> >fax:  +49 2461 61-6695
>> >e-mail: d.froning at fz-juelich.de
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> 
>>>------------------------------------------------------------------------
>>>--
>> >----------------------
>> 
>>>------------------------------------------------------------------------
>>>--
>> >----------------------
>> >Forschungszentrum Juelich GmbH
>> >52425 Juelich
>> >Sitz der Gesellschaft: Juelich
>> >Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> >Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
>> >Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
>> >Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> >Prof. Dr. Sebastian M. Schmidt
>> 
>>>------------------------------------------------------------------------
>>>--
>> >----------------------
>> 
>>>------------------------------------------------------------------------
>>>--
>> >----------------------
>> >
>> >_______________________________________________
>> >Powered by www.kitware.com
>> >
>> >Visit other Kitware open-source projects at
>> >http://www.kitware.com/opensource/opensource.html
>> >
>> >Please keep messages on-topic and check the ParaView Wiki at:
>> >http://paraview.org/Wiki/ParaView
>> >
>> >Follow this link to subscribe/unsubscribe:
>> >http://www.paraview.org/mailman/listinfo/paraview
>> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: porennetz2.vtk
Type: application/octet-stream
Size: 17272 bytes
Desc: porennetz2.vtk
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140623/f09ac2e1/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: porennetzrot2.vtk
Type: application/octet-stream
Size: 8234 bytes
Desc: porennetzrot2.vtk
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140623/f09ac2e1/attachment-0003.obj>


More information about the ParaView mailing list