X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintRadius.h;h=697a4db8d8f1f51b270bec8ac4ebecc5c3a6ed11;hb=b6dee14600299470ff26d198967fa48fb5bba99c;hp=5400bc443188de718808239569a561b9aa6db7eb;hpb=f069f05f6800a491c1ea61a2490fbfdb9583193c;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintRadius.h b/src/SketchPlugin/SketchPlugin_ConstraintRadius.h index 5400bc443..697a4db8d 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintRadius.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintRadius.h @@ -46,6 +46,10 @@ class SketchPlugin_ConstraintRadius : public SketchPlugin_ConstraintBase /// \brief Request for initialization of data model of the feature: adding all attributes SKETCHPLUGIN_EXPORT virtual void initAttributes(); + /// Retuns the parameters of color definition in the resources config manager + SKETCHPLUGIN_EXPORT virtual void colorConfigInfo(std::string& theSection, std::string& theName, + std::string& theDefault); + /// Returns the AIS preview SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious); @@ -65,6 +69,9 @@ private: /// Checks and gets the radius of referenced circle (or arc) otherwise returns -1. /// \param theCircData the found referenced circle returned by this method double circleRadius(std::shared_ptr& theCirc); + +private: + bool myFlyoutUpdate; ///< to avoid cyclic dependencies on automatic updates of flyout point }; #endif