Salome HOME
Add a unit-test for the Fillet feature interaction with other constraints
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Feature.h
index 2f386d18d4e63e8275bd0f32c7a897f3987b21b8..418e6804aaa3f2d4388be2d9bda661505c8100f3 100644 (file)
@@ -10,7 +10,6 @@
 #include "SketchPlugin.h"
 #include <ModelAPI_CompositeFeature.h>
 #include <GeomAPI_Shape.h>
-#include <GeomAPI_AISObject.h>
 #include <ModelAPI_Document.h>
 #include <ModelAPI_AttributeSelection.h>
 #include <ModelAPI_AttributeBoolean.h>
@@ -18,7 +17,6 @@
 #include <Config_PropManager.h>
 
 class SketchPlugin_Sketch;
-class Handle_AIS_InteractiveObject;
 
 /**\class SketchPlugin_Feature
  * \ingroup Plugins
@@ -40,6 +38,19 @@ class SketchPlugin_Feature : public ModelAPI_Feature
     return false;
   }
 
+  /// Returns true if the feature is a copy of other feature
+  SKETCHPLUGIN_EXPORT virtual bool isCopy() const
+  {
+    return false;
+  }
+
+  /// Returns true if the feature and the feature results can be displayed
+  /// \return true
+  SKETCHPLUGIN_EXPORT virtual bool canBeDisplayed() const
+  {
+    return true;
+  }
+
   /// Moves the feature
   /// \param theDeltaX the delta for X coordinate is moved
   /// \param theDeltaY the delta for Y coordinate is moved