[vtkusers] getting curvature
Jonathan Morra
jonmorra at gmail.com
Tue Oct 19 22:04:41 EDT 2010
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
vtkCurvatures curvatures = new vtk.vtkCurvatures();
curvatures.SetInput(currentPolyData);
curvatures.SetCurvatureTypeToGaussian();
curvatures.Update();
vtkPolyData curvatureData = curvatures.GetOutput();
However, I don't know what to do with the curvatureData vtkPolyData, and how
to extract the curvature at every point.
Any help would be greatly appreciated.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101019/f6137fab/attachment.htm>
More information about the vtkusers
mailing list