[vtkusers] vtkPolyDataNormals how to compute points' normal

donyyo donyyo at gmail.com
Tue May 27 10:27:48 EDT 2014


Hi Bill,
Could you tell me how to average the cell normals? The average value I got
is different from the value obtained from the following function.
vtkDataArray *pointNormals =
vtkDataArray::SafeDownCast(polyData->GetPointData()->GetNormals());
double pointNormal[3] = {0.0, 0.0, 0.0};
pointNormals->GetTuple(pointId, pointNormal);

BTW, I notice that some people use the weighted average mean in which the
weight is the included angle.
Thank you!



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkPolyDataNormals-how-to-compute-points-normal-tp1228449p5727250.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list