[vtkusers] polygonal data to volume

David Doria daviddoria at gmail.com
Tue Mar 5 10:23:11 EST 2013


On Tue, Mar 5, 2013 at 7:36 AM, Radan Šuba <nadarabus at gmail.com> wrote:

> Hello,
>
> I am new with VTK, but I would like to know:
> I have 2D polygons which I would like to extrude into volume or I have
> 3D object (POLYDATA) which I would like to convert to
> UNSTRUCTURED_GRID. The condition is that the slice of final 3D object
> should be 2D face.
>
> What can I do?
>
> Radan
>

Welcome to VTK!

Please take a look through http://www.itk.org/Wiki/VTK/Examples/Cxx as you
get started.

For your current questions:

Extrusions:
http://www.itk.org/Wiki/VTK/Examples/Cxx/PolyData/LinearExtrusion

Converting PolyData to UnstructuredGrid:
http://www.itk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToUnstructuredGrid

Good luck,

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


More information about the vtkusers mailing list