Salome HOME
Issue #1303 Reordering menu items: Sketch action enable state
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Mirror.h
index 69e9494d95aa3017a78ca6f17e88b5a5ef1a4fa3..35d5c146cf1cd9496744630a440b1805dd865af6 100644 (file)
@@ -26,6 +26,13 @@ public:
   Standard_EXPORT SketcherPrs_Mirror(ModelAPI_Feature* theConstraint, 
                                        const std::shared_ptr<GeomAPI_Ax3>& thePlane);
   DEFINE_STANDARD_RTTI(SketcherPrs_Mirror)
+
+  /// Returns true if the constraint feature arguments are correcly filled to build AIS presentation
+  /// \param theConstraint a constraint feature
+  /// \param thePlane a coordinate plane of current sketch
+  /// \return boolean result value
+  static bool IsReadyToDisplay(ModelAPI_Feature* theConstraint,
+                               const std::shared_ptr<GeomAPI_Ax3>& thePlane);
 protected:
   virtual const char* iconName() const { return "mirror.png"; }