[vtkusers] vtkActor circle point

David Doria daviddoria at gmail.com
Wed Feb 12 18:15:03 EST 2014


On Wed, Feb 12, 2014 at 6:06 PM, Matias Montroull <matimontg at gmail.com> wrote:
> Hi,
>
> is there a way to to render points as circle instead of squares?
>
> So far I've been able to set the point size and color but I can't find a way
> to change the shape of the points..
>
> Thanks!

You could try this:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/Glyph2D

and you can create the circle by using a RegularPolygon with a large
number of sides:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/RegularPolygonSource

Hope that helps -

David


More information about the vtkusers mailing list