Skip to content

Actually deprecated method that was only comment-deprecated

Sean McBride requested to merge seanm/vtk:InterpolationDerivsDeprecation into master

Used the following 4 regexes to do this almost automatically:

static void InterpolationDerivs(const double pcoords[3], double derivs[(\d+)]); to VTK_LEGACY(static void InterpolationDerivs(const double pcoords[3], double derivs[\1]));\n\nprivate:\n static void InterpolationDerivsPrivate(const double pcoords[3], double derivs[\1]);\n\npublic:

void (.*)::InterpolationDerivs( to #if !defined(VTK_LEGACY_REMOVE)\nvoid \1::InterpolationDerivs(const double pcoords[3], double derivs[XXX])\n{\n VTK_LEGACY_BODY(\1::InterpolationDerivs, "VTK 5.2");\n InterpolationDerivsPrivate(pcoords, derivs);\n}\n#endif\n\nvoid \1::InterpolationDerivsPrivate(

this->InterpolationDerivs *( to this->InterpolationDerivsPrivate(

(.*)::InterpolationDerivs\(pcoords, *derivs\);
to
\1::InterpolationDerivsPrivate(pcoords, derivs);

Merge request reports