[vtkusers] vtkPLYWriter and polydata

David Doria daviddoria at gmail.com
Mon Sep 17 09:17:42 EDT 2012


On Mon, Sep 17, 2012 at 9:14 AM, cerina <cerine-baratelli at hotmail.fr> wrote:
> when i open with my program my generated files and i put
> cout<<" the number of points in your polydata is
> "<<polydata->getNumberofPoints();
>
> it shows me that i have 155 points. But i can't see them :(

Sounds like you need to add a vertex to each point:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/vtkVertexGlyphFilter

I suggest you check out:
http://www.vtk.org/Wiki/VTK/Tutorials/GeometryTopology

David



More information about the vtkusers mailing list