X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_MultiRotation.h;h=84ec0c9a70b3f648d4e74a5e343d19b899f71714;hb=74803c2a1d0fdc3fbae6dce019b83b515ce4d59d;hp=9b43abe82edc1fc610483ca670915774e93b29e2;hpb=7074394f8f08413d885f63be01df6bd5007b868c;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_MultiRotation.h b/src/SketchPlugin/SketchPlugin_MultiRotation.h index 9b43abe82..84ec0c9a7 100644 --- a/src/SketchPlugin/SketchPlugin_MultiRotation.h +++ b/src/SketchPlugin/SketchPlugin_MultiRotation.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// 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 @@ -12,10 +12,9 @@ // // 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 +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef SketchPlugin_MultiRotation_H_ @@ -87,6 +86,13 @@ class SketchPlugin_MultiRotation : public SketchPlugin_ConstraintBase return MY_NUMBER_OF_OBJECTS_ID; } + /// Name of the flag to reverse rotation + inline static const std::string& REVERSED_ID() + { + static const std::string MY_REVERSED_ID("MultiRotationReversed"); + return MY_REVERSED_ID; + } + /// \brief Creates a new part document if needed SKETCHPLUGIN_EXPORT virtual void execute(); @@ -112,6 +118,8 @@ private: // double theCenterX, double theCenterY, double theAngle); bool updateFullAngleValue(); + + bool isUpdatingAngle; }; #endif