X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_MultiTranslation.h;h=9571ed3d218c91228b58167d2eadd62c5f625b32;hb=e60b61962b051180dab78bb91977d58d59ca7614;hp=36b9f0df48de4307e397217d05c6f4308b9b1201;hpb=42394362cfec9b39f7def70c83e99c77a48fdfe5;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h b/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h index 36b9f0df4..9571ed3d2 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h +++ b/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-201x CEA/DEN, EDF R&D - -// File: FeaturesPlugin_MultiTranslation.h -// Created: 30 Jan 2017 -// Author: Clarisse Genrault (CEA) +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef FEATURESPLUGIN_MULTITRANSLATION_H_ #define FEATURESPLUGIN_MULTITRANSLATION_H_ @@ -24,7 +37,7 @@ class FeaturesPlugin_MultiTranslation : public ModelAPI_Feature /// Multi-translation kind. inline static const std::string& ID() { - static const std::string MY_MULTITRANSLATION_ID("MultiTranslation"); + static const std::string MY_MULTITRANSLATION_ID("LinearCopy"); return MY_MULTITRANSLATION_ID; } @@ -106,10 +119,6 @@ private: /// Perform the multi translation in two directions. void performTwoDirection(); - - void loadNamingDS(std::list > theListOfTranslationAlgo, - std::shared_ptr theResultBody, - std::shared_ptr theBaseShape); }; #endif // FEATURESPLUGIN_MULTITRANSLATION_H_ \ No newline at end of file