I have a vtkPolyData and I would like to get the curvature at every point. I noticed that there is a vtkCurvatures class. Here's the code that I have written so far<div><br></div><div><div> vtkCurvatures curvatures = new vtk.vtkCurvatures();</div>
<div> curvatures.SetInput(currentPolyData);</div><div> curvatures.SetCurvatureTypeToGaussian();</div><div> curvatures.Update();</div><div> vtkPolyData curvatureData = curvatures.GetOutput();</div>
</div><div>However, I don't know what to do with the curvatureData vtkPolyData, and how to extract the curvature at every point.</div><div><br></div><div>Any help would be greatly appreciated.</div><div><br></div><div>
Thanks</div>