From 2c245ef73e4eb3362af03f21e477f95ea682d2f9 Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Thu, 25 Aug 2022 16:16:41 +0200 Subject: [PATCH] getTemplateName is no longer virtual --- src/Registration/GroupwiseRegistrationEngine.h | 3 --- src/Registration/IntensityProfileCreator.h | 3 --- src/Registration/IntensityProfileRegistrationForceField.h | 3 --- 3 files changed, 9 deletions(-) diff --git a/src/Registration/GroupwiseRegistrationEngine.h b/src/Registration/GroupwiseRegistrationEngine.h index 8778415..5df8654 100644 --- a/src/Registration/GroupwiseRegistrationEngine.h +++ b/src/Registration/GroupwiseRegistrationEngine.h @@ -64,9 +64,6 @@ class GroupwiseRegistrationEngine : public core::DataEngine core::objectmodel::vectorData vf_inputs; core::objectmodel::vectorData vf_outputs; - virtual std::string getTemplateName() const override { return templateName(this); } - static std::string templateName(const GroupwiseRegistrationEngine* = NULL) { return T::Name(); } - void init() override { addInput(&f_nbInputs); diff --git a/src/Registration/IntensityProfileCreator.h b/src/Registration/IntensityProfileCreator.h index 6b7d870..995c6cd 100644 --- a/src/Registration/IntensityProfileCreator.h +++ b/src/Registration/IntensityProfileCreator.h @@ -60,9 +60,6 @@ class IntensityProfileCreator : public core::DataEngine Data< ImageTypes > image; Data< type::vector > values; ///< intensity values for each line - virtual std::string getTemplateName() const override { return templateName(this); } - static std::string templateName(const IntensityProfileCreator* = NULL) { return ImageTypes::Name(); } - IntensityProfileCreator() : Inherited() , image(initData(&image,ImageTypes(),"image","")) , values(initData(&values,"values","intensity values for each line")) diff --git a/src/Registration/IntensityProfileRegistrationForceField.h b/src/Registration/IntensityProfileRegistrationForceField.h index 81fdf07..215dbf5 100644 --- a/src/Registration/IntensityProfileRegistrationForceField.h +++ b/src/Registration/IntensityProfileRegistrationForceField.h @@ -133,9 +133,6 @@ class IntensityProfileRegistrationForceField : public core::behavior::ForceField core::behavior::MechanicalState* getObject() { return this->mstate; } - static std::string templateName(const IntensityProfileRegistrationForceField* = NULL) { return DataTypes::Name()+ std::string(",")+ImageTypes::Name(); } - virtual std::string getTemplateName() const override { return templateName(this); } - // -- ForceField interface void reinit() override; void init() override;