[vtkusers] How to create hexahedron polydata?

TJ Corona tj.corona at kitware.com
Thu Nov 2 08:26:39 EDT 2017


From the vtk documentation <https://www.vtk.org/doc/nightly/html/classvtkPolyData.html>:

vtkPolyData <https://www.vtk.org/doc/nightly/html/classvtkPolyData.html> represents a geometric structure consisting of vertices, lines, polygons, and/or triangle strips.

Hexahedra are 3-dimensional cells; you cannot put a hexahedron into polydata. You can create an unstructured grid from 8 points <https://www.paraview.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Hexahedron>, and then extract its surface as polydata <https://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DataSetSurfaceFilter>. What exactly are you trying to do?

Thomas J. Corona, Ph.D.
Kitware, Inc.
Senior R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4443

> On Nov 2, 2017, at 1:36 AM, Anniywell <wellq.an at gmail.com> wrote:
> 
> I have 8 points, how to create hexahedron polydata?
> 
> 
> 
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171102/2b68f4d2/attachment.html>


More information about the vtkusers mailing list