[vtkusers] How to create basic shapes using vtkPolyData
Jothybasu K Selvaraj
jothybasu at gmail.com
Thu Apr 15 13:20:47 EDT 2010
I am already doing this!
My aim is to create much more complicated shapes, for ease of understanding
I mentioned basic shapes so that I can learn easier things first.I think if
I go to the nightly docs, I will find some examples in vtkPolyData class.
Jothy
On Thu, Apr 15, 2010 at 5:51 PM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:
> 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/dda7d878/attachment.htm>
More information about the vtkusers
mailing list