<div>You can also use vtkParticleReader.</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 9/24/07, <b class="gmail_sendername">Kevin H. Hobbs</b> <<a href="mailto:hobbsk@ohiou.edu">hobbsk@ohiou.edu</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Mon, 2007-09-24 at 11:51 +1200, jim yu wrote:<br>> hi, guys<br>><br>> i want to display point cloud. i know the points could be represented
<br>> by vtkPolyData. i create the vtkPoints into which i insert several<br>> points. but nothing is displayed.<br>><br><br>vtkPoints are not rendered. Only "cells" are rendered. The cell type you<br>want is a "Vertex". You need to create a vtkPolyData, add your vtkPoints
<br>to it, create a vtkCellArray that defines each point as being part of a<br>vertex, and add your verts to the poly data, and I think you should be<br>set.<br><br>It looks like vtkVertexGlyphFilter could do what you want, so can
<br>vtkMaskPoints.<br><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>___________________________________________
<br>Andrew J. P. Maclean<br>Centre for Autonomous Systems<br>The Rose Street Building J04<br>The University of Sydney 2006 NSW<br>AUSTRALIA<br>Ph: +61 2 9351 3283<br>Fax: +61 2 9351 7474<br>URL: <a href="http://www.acfr.usyd.edu.au/">
http://www.acfr.usyd.edu.au/</a><br>___________________________________________