Salome HOME
Issue #1369: fix for wire base validator
[modules/shaper.git] / src / PartSet / PartSet_SketcherMgr.h
index a7118e899e09b4035258cbe6fa80edb2e264179b..062bd102f2f876701d1ed66fb20dd2f48a18e43b 100644 (file)
@@ -35,6 +35,8 @@ class ModuleBase_Operation;
 class XGUI_OperationMgr;
 class XGUI_Workshop;
 
+class Handle_AIS_InteractiveObject;
+
 class QMouseEvent;
 
 /**
@@ -238,6 +240,11 @@ public:
   /// \param theModes a list of modes
   static void sketchSelectionModes(QIntList& theModes);
 
+  /// Create specific for the module presentation
+  /// \param theResult an object for presentation
+  /// \return created presentation or NULL(default value)
+  virtual Handle_AIS_InteractiveObject createPresentation(const ResultPtr& theResult);
+
   /// Connects or disconnects to the value changed signal of the property panel widgets
   /// \param theWidget a property contol widget
   /// \param isToConnect a boolean value whether connect or disconnect
@@ -247,14 +254,24 @@ public:
   /// \param thePreviousState the previous widget value state
   void widgetStateChanged(int thePreviousState);
 
+  /// If the current operation is a dimention one, the style of dimension visualization is send for
+  /// the current object
+  /// \param theObject an object to be customized
+  void customizePresentation(const ObjectPtr& theObject);
+
+  /// Update sketch presentations according to the the state
+  /// \param theType a type of sketch visualization style
+  /// \param theState a boolean state
+  void updateBySketchParameters(const PartSet_Tools::ConstraintVisibleState& theType,
+                                bool theState);
+
 public slots:
   /// Process sketch plane selected event
   void onPlaneSelected(const std::shared_ptr<GeomAPI_Pln>& thePln);
 
+private slots:
   /// Toggle show constraints
   void onShowConstraintsToggle(int theType, bool theState);
-
-private slots:
   /// Process the enter mouse to the view port. If the current operation is a create of
   /// a nested sketch feature, it updates internal flags to display the feature on mouse move
   void onEnterViewPort();