X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Point.h;h=4c774715757edc8463ee320102c7699d01f70ed7;hb=2452f6e679a2c0a4f261dac25e4b6592f0a540c1;hp=a60f9bebab70a1e73c8619b6ebda4125aaca165e;hpb=6ebb0f00477866099d80a8373d2b306d8ed0906e;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Point.h b/src/SketchPlugin/SketchPlugin_Point.h index a60f9beba..4c7747157 100644 --- a/src/SketchPlugin/SketchPlugin_Point.h +++ b/src/SketchPlugin/SketchPlugin_Point.h @@ -9,14 +9,14 @@ #include "SketchPlugin.h" #include -#include "SketchPlugin_Feature.h" +#include "SketchPlugin_SketchEntity.h" #include /**\class SketchPlugin_Point - * \ingroup DataModel + * \ingroup Plugins * \brief Feature for creation of a new point. */ -class SketchPlugin_Point : public SketchPlugin_Feature +class SketchPlugin_Point : public SketchPlugin_SketchEntity { public: /// Point feature kind @@ -56,6 +56,9 @@ class SketchPlugin_Point : public SketchPlugin_Feature /// \param thePoint the point virtual double distanceToPoint(const std::shared_ptr& thePoint); + /// Called on change of any argument-attribute of this object: for external point + SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID); + /// Use plugin manager for features creation SketchPlugin_Point(); };