Feature edges extraction with associated dihedral angle
Guillaume Jacquenot <[email protected]> Fri, 1 Mar 2019 23:59:39 +0100
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CAB8-E4ArrRd9xA7MBQe4O5j9=oPY6=Nfgyd64itGPOE8NvkU=A@mail.gmail.com> |
Dear VTK users, I am working with a vtkPolyData made of triangles. I would like to identify the feature edges WITH: - the two associated triangle indices to store their normals - the corresponding dihedral angle. These results could be respectively CellData vectors and scalar of vtkFeatureEdge output, for example. 1) Using vtkFeatureEdge returns a new vtkPolyData with no link with original triangles. Do I have to iterate over points of the generated vtkFeatureEdge to find the closest triangle on vtkPolyData. But it does not seem smart at all. 2) Rewrite vtkFeatureEdge class with only FeatureEdges=1 seems possible. But is there a smarter solution? 3) Can vtkPolyDataNormals brings a smarter answer? Thanks you for reading and your future answer! Guillaume _______________________________________________ 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: https://vtk.org/mailman/listinfo/vtkusers