Hi Flavio,

I use the POLYDATA format to save the data and then visualize it with glyphs (usually spheres, but if you just need points I suppose small cubes would work as well). The header looks like:

--8<--

# vtk DataFile Version 2.0
Some comment
ASCII
DATASET POLYDATA
POINTS    2 float
      0.782901      0.067979      0.784717
      1.387618      0.188356      0.766874
POINT_DATA    2
VECTORS u float
     -0.089651      0.002427      0.992657
      0.098818      0.015530      0.877940

--8<--

Robert

On 2014-09-22 08:53, Flavio Sartoretto wrote:
I must display a 3D cloud of points inside a unit cube.
After being unsuccessful, I found
-----------------------------------------------------------------------
Subject: Re: [Paraview] Question about showing a few nodes/points using vtk xml <http://markmail.org/message/glgj4xl3hnbty2wv> permalink <http://markmail.org/message/glgj4xl3hnbty2wv>
From:   Moreland, Kenneth ([email protected] <http://sandia.gov/>)
Date:   Jul 6, 2010 9:22:44 am
List:   org.paraview.paraview

By default, ParaView draws cells, not points. (You've found one exception where selected points are drawn.) If you want to see points in general, you will need to create "vertex" cells. One way to do that is to run your data through the
glyph filter and select the "2D Glyph" and then "Vected" glyph types.

etc.

--------------------------------------------------------------------------

I run Delaunay 3D on my cloud. I exported into a vtk file.

Reimported.

Only point on cube faces are displayed, no one inside


Any hint?

Best


--
Prof. Flavio Sartoretto, Universita` Ca' Foscari Venezia
Dipartimento di Scienze Ambientali, Informatica e Statistica
Via Torino 155 - 30172 Mestre VE (Italy)
Voice: +39.041.234.8411, +39.049.827.1331 / Fax: +39.041.234.8419, +39.049.827.1333 WEB: http://www.dsi.unive.it/~sartoret <http://www.dsi.unive.it/%7Esartoret>
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


_______________________________________________
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://public.kitware.com/mailman/listinfo/paraview

_______________________________________________
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://public.kitware.com/mailman/listinfo/paraview

Reply via email to