Measuring the average discrete gaussian and mean curvature of a model with vtk in python?

This may give you some ideas: CurvaturesAdjustEdges.