[vtkusers] how to draw a circle?

Mathieu Coursolle mcoursolle at rogue-research.com
Fri Sep 12 09:03:48 EDT 2008


Hi,

One solution would be to use vtkRegularPolygonSource.
http://www.vtk.org/doc/nightly/html/classvtkRegularPolygonSource.html

You can then decide the resolution of the circle and its radius using
SetRadius(...) and SetNumberOfSides(...).

Mathieu

On 11-Sep-08, at 7:42 PM, Gökhan ERSOY wrote:

>  Hi all,
>
>  How can i draw a circle in VTK?
>
>  Thanks...
>
> Gokhan
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list