[vtkusers] how to draw a circle?

Gökhan ERSOY goksoy66 at gmail.com
Fri Sep 12 16:57:31 EDT 2008


yes this is the solution. :)

2008/9/12 Mathieu Coursolle <mcoursolle at rogue-research.com>

> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080912/f605dfe9/attachment.htm>


More information about the vtkusers mailing list