[vtkusers] vtkPointSource output has N points and 1 cell?

David Doria daviddoria at gmail.com
Mon Nov 28 13:33:08 EST 2011


On Mon, Nov 28, 2011 at 11:36 AM, David Gobbi <david.gobbi at gmail.com> wrote:
> Hi David,
> A cell with many verts is a vtkPolyVertex.  It uses half as much memory as
> placing the same number of verts in individual cells.
> It would be easy to add an option to vtkPointSource so that it places each
> point in a different cell, all you would have to do is change the loop that
> builds the cells.  This would be preferable to adding a
> vtkVertexGlyphFilter, which would add a lot of overhead.
>  - David

Thanks David. I added a brief note about this:

http://review.source.kitware.com/#change,3377

David



More information about the vtkusers mailing list