In order to &quot;see&quot; the points in ParaView, you would need to create a vtkVertex cell for each point. In VTK, a &quot;vertex&quot; is a cell (and will be visible in ParaView); a &quot;point&quot; is just an (x, y, z) coordinate.<br>
<br>- Amy<br><br><div class="gmail_quote">On Thu, Feb 19, 2009 at 9:35 AM, Syrkina  Ekaterina <span dir="ltr">&lt;syrkinae@ethz.ch&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
I recently needed to display point cloud in paraview and &quot;converted&quot;<br>
vtkPoints to vtkPolyData this way:<br>
<br>
vtkPolyData *data = vtkPolyData::New();<br>
vtkPoints *points = vtkPoints::New();<br>
// some code to read points from text file into vtkPoints object //<br>
data-&gt;SetPoints(points);<br>
<br>
It didn&#39;t solve my problem, since paraview displays only points<br>
associated by geometry, so one has to define faces or smth else. But<br>
maybe it solves your problem.<br>
<br>
Best,<br>
Katya<br>
<div><div></div><div class="Wj3C7c"><br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a><br>
&gt; [mailto:<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>] On Behalf Of kent williams<br>
&gt; Sent: Thursday, February 19, 2009 3:47 PM<br>
&gt; To: VTK users group<br>
&gt; Subject: Re: [vtkusers] vtkPoints to vtkPolyData<br>
&gt;<br>
&gt; I&#39;m not sure what you&#39;re asking. &nbsp;Are you saying you have a set of 3D<br>
&gt; points, and want to convert them into a polygon? &nbsp;Then Dean&#39;s function<br>
&gt; works just fine. It assumes that your points are ordered, and it&#39;s up<br>
&gt; to you to make sure they&#39;re co-planar, but that function is 3D.<br>
&gt;<br>
&gt; If you&#39;re doing something more complicated, you need to be more<br>
&gt; specific about what you&#39;re trying.<br>
&gt;<br>
&gt; On Thu, Feb 19, 2009 at 6:10 AM, Daniel Meier<br>
&gt; &lt;<a href="mailto:daniel.meier@oleco.net">daniel.meier@oleco.net</a>&gt; wrote:<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m new to vtk. How can I convert vtkPoints to vtkPolydata.<br>
&gt; The points<br>
&gt; &gt; represent an object in 3D. I have found<br>
&gt; ConvertPointSequenceToPolyData (<br>
&gt; &gt;<br>
&gt; <a href="http://www.vtk.org/pipermail/vtkusers/2007-November/093317.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/2007-November/093317.htm</a><br>
&gt; l ) &nbsp;from Dean<br>
&gt; &gt; Inglis which works fine in 2D but how can this be done in 3D?<br>
&gt; &gt;<br>
&gt; &gt; Thanks for any suggestions,<br>
&gt; &gt;<br>
&gt; &gt; Daniel<br>
&gt; &gt; ________________________________<br>
&gt; &gt; versendet mit <a href="http://www.oleco.de" target="_blank">www.oleco.de</a> Mail - Anmeldung und Nutzung kostenlos!<br>
&gt; &gt; Oleco <a href="http://www.netlcr.org" target="_blank">www.netlcr.org</a> - jetzt auch mit Spamschutz.<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt; &gt;<br>
&gt; &gt; Visit other Kitware open-source projects at<br>
&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; &gt;<br>
&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; &gt;<br>
&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>