<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Flavio,<br>
<br>
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:<br>
<br>
--8<--<br>
<br>
# vtk DataFile Version 2.0<br>
Some comment<br>
ASCII<br>
DATASET POLYDATA<br>
POINTS 2 float<br>
0.782901 0.067979 0.784717<br>
1.387618 0.188356 0.766874<br>
POINT_DATA 2<br>
VECTORS u float<br>
-0.089651 0.002427 0.992657<br>
0.098818 0.015530 0.877940<br>
<br>
--8<--<br>
<br>
Robert<br>
<br>
On 2014-09-22 08:53, Flavio Sartoretto wrote:<br>
</div>
<blockquote
cite="mid:CAJspreQhb0LdnaPai7uH3QmF-ovxV9o9oFizk=Qr2cBnLymgiQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr"><span
style="font-family:arial,sans-serif;font-size:12.8000001907349px">I
must display a 3D cloud of points inside a unit cube.</span>
<div
style="font-family:arial,sans-serif;font-size:12.8000001907349px">After
being unsuccessful, I found </div>
<div
style="font-family:arial,sans-serif;font-size:12.8000001907349px">-----------------------------------------------------------------------</div>
<div
style="font-family:arial,sans-serif;font-size:12.8000001907349px">
<table style="border:1px solid
rgb(170,170,170);padding:5px;margin-bottom:5px;color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi
Sans',sans-serif;font-size:14px;background-color:rgb(245,245,245)">
<tbody>
<tr>
<th
style="font-size:0.85em;text-align:right;vertical-align:top;color:rgb(106,106,106);padding-right:5px;width:49px">Subject:</th>
<td style="vertical-align:top;font-size:0.85em"><a
moz-do-not-send="true"
href="http://markmail.org/message/glgj4xl3hnbty2wv"
target="_blank"
style="color:black;text-decoration:none;font-size:1em">Re:
[Paraview] Question about showing a few nodes/points
using vtk xml</a></td>
<td
style="vertical-align:top;font-size:0.85em;text-align:right"><a
moz-do-not-send="true"
href="http://markmail.org/message/glgj4xl3hnbty2wv"
target="_blank" style="color:rgb(0,0,153)"><img
moz-do-not-send="true"
src="http://markmail.org/images/permalink.gif"
alt="permalink" title="Permalink for this message"
style="border: 0px; padding-left: 5px;" height="8"
width="17"></a></td>
</tr>
<tr>
<th
style="font-size:0.85em;text-align:right;vertical-align:top;color:rgb(106,106,106);padding-right:5px;width:49px">From:</th>
<td colspan="2"
style="vertical-align:top;font-size:0.85em">Moreland,
Kenneth (kmo<a moz-do-not-send="true"
style="color:rgb(0,0,153);text-decoration:underline">...</a>@<a
moz-do-not-send="true" href="http://sandia.gov/"
target="_blank">sandia.gov</a>)</td>
</tr>
<tr>
<th
style="font-size:0.85em;text-align:right;vertical-align:top;color:rgb(106,106,106);padding-right:5px;width:49px">Date:</th>
<td colspan="2"
style="vertical-align:top;font-size:0.85em">Jul 6,
2010 9:22:44 am</td>
</tr>
<tr>
<th
style="font-size:0.85em;text-align:right;vertical-align:top;color:rgb(106,106,106);padding-right:5px;width:49px">List:</th>
<td colspan="2"
style="vertical-align:top;font-size:0.85em">org.paraview.paraview</td>
</tr>
</tbody>
</table>
<div style="font-family:Arial,Helvetica,'Luxi
Sans',sans-serif;padding-left:5px;padding-right:5px;color:rgb(0,0,0);font-size:14px">
<div style="white-space:pre-wrap">
<p style="padding:0px;margin:0px">By default, ParaView
draws cells, not points. (You've found one exception
where<br>
selected points are drawn.) If you want to see points in
general, you will need<br>
to create "vertex" cells. One way to do that is to run
your data through the<br>
glyph filter and select the "2D Glyph" and then "Vected"
glyph types. </p>
<p style="padding:0px;margin:0px">etc.</p>
<p style="padding:0px;margin:0px">--------------------------------------------------------------------------</p>
<p style="padding:0px;margin:0px">I run Delaunay 3D on my
cloud. I exported into a vtk file. </p>
<p style="padding:0px;margin:0px">Reimported.</p>
<p style="padding:0px;margin:0px">Only point on cube faces
are displayed, no one inside</p>
<p style="padding:0px;margin:0px"><br>
</p>
<p style="padding:0px;margin:0px">Any hint?</p>
<p style="padding:0px;margin:0px">Best</p>
</div>
</div>
</div>
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>Prof. Flavio Sartoretto, Universita` Ca' Foscari Venezia </div>
<div>Dipartimento di Scienze Ambientali, Informatica e
Statistica</div>
<div>Via Torino 155 - 30172 Mestre VE (Italy)</div>
<div>Voice: +39.041.234.8411, +39.049.827.1331 / Fax:
+39.041.234.8419, +39.049.827.1333</div>
<div>WEB: <a moz-do-not-send="true"
href="http://www.dsi.unive.it/%7Esartoret" target="_blank">http://www.dsi.unive.it/~sartoret</a></div>
<div>Please avoid sending me Word or PowerPoint attachments.</div>
<div>See <a moz-do-not-send="true"
href="http://www.gnu.org/philosophy/no-word-attachments.html"
target="_blank">http://www.gnu.org/philosophy/no-word-attachments.html</a></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</body>
</html>