[vtkusers] size of Pixel from vtkPolyData

David Doria daviddoria at gmail.com
Tue Jul 24 07:19:40 EDT 2012


On Tue, Jul 24, 2012 at 4:57 AM, youpie <meriadegp at yahoo.fr> wrote:

> Hi,
>
> I use SetVerts method of a polydata  to draw some points.
> By default I have at the screen a pixel per point. That is very good if I
> have a lot of points to draw. But if I have only 10 points, we can't see
> anything.
>
> An Idea is to use a Glyph to reprensed point by something else than a
> pixel.
> But if I have 1000000 points, that begin to be slow (depending of the glyph
> resolution) and not necessary.
>
> That Why I want to know if it is possible to specify number of pixel we
> want
> to use to reprensent a point.
>
> Thanks in advance...
>

I believe this is what you're looking for:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/PointSize

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


More information about the vtkusers mailing list