[Paraview] How to display normals, INPUT from a VTK file in Paraview ?

David E DeMarle dave.demarle at kitware.com
Wed Jan 15 15:47:08 EST 2014


Apply the glyph filter and choose the normals array as the vector to orient
by.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Tue, Jan 14, 2014 at 10:14 AM, Vincent Leroy <vincent.leroy at innosea.fr>wrote:

>  Hi,
>
>
> I am a new user of Paraview. I am facing a problem I cannot solve and I
> have not found any relevant practice on the internet (guide user, mailing,
> ...)... I want to visualise my mesh with normals specified *in my VTK
> file* (and *NOT* the Normals Glyphs calculated by the software) (I have
> these normals calculations in another code and I do not want to change
> that).
>
> I am importing a mesh in Paraview from a VTK file. The VTK file contains
> the following elements:
>
>
>
> # vtk DataFile Version 2.0
> hydrodynamic vtk mesh for paraview vizu
> ASCII
> DATASET POLYDATA
> POINTS 458 float
> x0 y0 z0 (points coordinates)
>
> ... ... ...
>
> .......
>
> POLYGONS 465 2325
>
> 4 n1 n2 n3 n4 (points IDs)
>
> 4 ... ... ... ...
>
> ......
>
> CELL_DATA 465
>
> NORMALS cell_normals float
>
> ... ... ... (normals coordinates)
>
>
>
> A 'cell_normals' array appears in 'Information'; I am able to color the
> surface (each cell) of the mesh according to the values of the cell_normals
> array (Magnitude, X, Y or Z) but nothing more. This gives me information on
> the normals orientation but I have no visual on the vectors.
>
> How is it possible de visualise these normals (displayed as vectors) on
> Paraview without calculating them with the software? What is the correct
> pratice ? I need to know if they are well oriented, I also need some visual
> on the mesh I am studying.
>
>
> Thanks a lot,
>
> Best regards.
>
> --
>
> Vincent
>
>
> _______________________________________________
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140115/70420de6/attachment.html>


More information about the ParaView mailing list