vtkCurvatures deletes cell data arrays
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
After applying the vtkCurvature filter, there are not celldata arrays anymore. Seen in vtk5.8, vtk6.2, paraview 4.1.0, paraview 4.2.0 To reproduce:
s = vtk.vtkSphereSource() n = vtk.vtkPolyDataNormals() n.SetInputConnection(s.GetOutputPort()) n.ComputeCellNormalsOn() n.Update() n.GetOutput().GetCellData().GetNumberOfArrays() 1 n.GetOutput().GetPointData().GetNumberOfArrays() 1 c = vtk.vtkCurvatures() c.SetInputConnection(n.GetOutputPort()) c.Update( c.GetOutput().GetPointData().GetNumberOfArrays() 2 c.GetOutput().GetCellData().GetNumberOfArrays() 0