VTK: vtkSTLReader with normal of cells

Dear all,

I am handling vtk library. To read STL file, I utilize vtkSTLReader class. STL specification defines there is information about normal of cells as right-hand-vertex order, or directly values written in the file.
However, vtkSTLReader seems to have no implementation to import such data.

If you know the way to import them, could you tell me?

In addition, I know vtkPolyDataNormals class is capable to compute normal of cells. However, I do not know what algorithm is used, and then the computed result accords with the input file.

If you know the specification of vtkPolyDataNormals class, I would appreciate it if you could tell me.
(Official reference does not tell me enough. It is unclear if we can use anytime correctly or approximately.

https://vtk.org/doc/nightly/html/classvtkPolyDataNormals.html#details)
Topic archived. No new replies allowed.