X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_MultiRotation.h;h=8e8f2b89cda187761059554349541baa2779a58c;hb=1c74a4ef1b175266becd65969077f12af764e7e2;hp=a673dc7eef12257cef49482e10619929cbe89afb;hpb=2532fb2df83ee1ddd9ff3e8b381d3788eaa15b69;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_MultiRotation.h b/src/SketchPlugin/SketchPlugin_MultiRotation.h index a673dc7ee..8e8f2b89c 100644 --- a/src/SketchPlugin/SketchPlugin_MultiRotation.h +++ b/src/SketchPlugin/SketchPlugin_MultiRotation.h @@ -14,7 +14,8 @@ // 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 +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com // #ifndef SketchPlugin_MultiRotation_H_ @@ -86,6 +87,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(); @@ -111,6 +119,8 @@ private: // double theCenterX, double theCenterY, double theAngle); bool updateFullAngleValue(); + + bool isUpdatingAngle; }; #endif