[vtkusers] How to create basic shapes using vtkPolyData

David Doria daviddoria+vtk at gmail.com
Thu Apr 15 12:51:50 EDT 2010


On Thu, Apr 15, 2010 at 12:46 PM, Jothybasu K Selvaraj
<jothybasu at gmail.com>wrote:

> Hi all,
>
> Is there any example on the wiki or does anyone know how to create basic
> sahpes like square/rectangle/circle using polydata?
>
> Thanks,
>
> Jothy
>
>
Yep, create a 3d object and then cut it:

http://www.vtk.org/Wiki/VTK/Examples/Circle

Sphere -> cut -> circle
Cube -> cut -> square

Thanks,

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


More information about the vtkusers mailing list