Coincidentally, I just did a merge request, replacing New()
and Delete()
by vtkNew
, within vtkCurvatures.cxx
:
vtkNew
appears very convenient to me, but please tell me if you prefer vtkSmartPointer
in this case. I won’t mind amending the commit.