Hi David,<div><br></div><div>A cell with many verts is a vtkPolyVertex.  It uses half as much memory as placing the same number of verts in individual cells.</div><div><br></div><div>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.</div>

<div><br></div><div> - David</div><div><br><br><div class="gmail_quote">On Mon, Nov 28, 2011 at 9:10 AM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The output of vtkPointSource has the requested number of points and 1<br>
cell.  I looked in vtkPointSource.cxx and it has:<br>
<br>
  newVerts = vtkCellArray::New();<br>
newVerts-&gt;Allocate(newVerts-&gt;EstimateSize(1,this-&gt;NumberOfPoints));<br>
newVerts-&gt;InsertNextCell(this-&gt;NumberOfPoints);<br>
<br>
and then goes on to do this in a loop:<br>
<br>
  newVerts-&gt;InsertCellPoint(newPoints-&gt;InsertNextPoint(x));<br>
<br>
My question is which type of cell is this that has no connectivity but<br>
more than 1 point? And why does vtkPointSource not just use a<br>
vtkVertexGlyphFilter to create an output with the name number of<br>
vertices as points?<br>
<br>
David<br>
</blockquote></div><br></div>