<div class="gmail_quote">2011/9/14 Rong Xu <span dir="ltr"><<a href="mailto:xurong1981@gmail.com">xurong1981@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, <br><br>I encountered a problem about the visualization of 3D points. I read a *.stl file and got a vtkPolyData. Then I can use vtkPolyDataMapper, vtkActor, vtkRenderer, vtkRenderWindow, and vtkRenderWindowInteractor to visualize a 3D surface from that *.stl file. <br>
<br>Another idea I want to just visualize 3D points from vtkPolyData. I know I can use the method vtkPolyData::GetPoints() to get 3D points. But I don't to how to visualize these vtkPoints. Does anyone give me an example or advice for this problem?<br>
<br>I will appreciate for your help ! Thank you!<br clear="all"><br></blockquote><div><br></div><div>You can use this filter to display a vertex at every point: </div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/vtkVertexGlyphFilter">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/vtkVertexGlyphFilter</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote">You can also take a look at these:</div><div class="gmail_quote"><a href="http://www.vtk.org/Wiki/VTK/Tutorials/GeometryTopology">http://www.vtk.org/Wiki/VTK/Tutorials/GeometryTopology</a></div>
<div class="gmail_quote"><br><div>David </div></div>