[vtkusers] About Visualization of 3D points

David Doria daviddoria at gmail.com
Wed Sep 14 11:09:13 EDT 2011


2011/9/14 Rong Xu <xurong1981 at gmail.com>

> Hi,
>
> 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.
>
> 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?
>
> I will appreciate for your help ! Thank you!
>
>
You can use this filter to display a vertex at every point:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/vtkVertexGlyphFilter

You can also take a look at these:
http://www.vtk.org/Wiki/VTK/Tutorials/GeometryTopology

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110914/5e2c420c/attachment.htm>


More information about the vtkusers mailing list