Salome HOME
Highload tests added.
[modules/shaper.git] / src / PartSet / PartSet_OperationFeatureBase.h
index cde5fb6756674e736437cfc49e2bb817d5ccc6db..ee290dd44cbfdffe130c7ecfefcfd7328c176a2f 100644 (file)
@@ -45,14 +45,16 @@ Q_OBJECT
   virtual void mouseReleased(QMouseEvent* theEvent, ModuleBase_IViewer* theViewer,
                              ModuleBase_ISelection* theSelection);
 
-
  protected:
-  /// Set value to the active widget
-  /// \param theFeature the feature
+  /// Return a widget value point by the selection and the viewer position
+  /// \param thePrs the presentation
+  /// \param theViewer a viewer to have the viewer the eye position
   /// \param theX the horizontal coordinate
   /// \param theY the vertical coordinate
-  /// \return true if the point is set
-  //bool setWidgetValue(ObjectPtr theFeature, double theX, double theY);
+  /// \return true if the point exits in the selection
+  virtual bool getViewerPoint(ModuleBase_ViewerPrs thePrs,
+                                   ModuleBase_IViewer* theViewer,
+                                   double& theX, double& theY);
 
  protected:
   CompositeFeaturePtr mySketch;  ///< the sketch of the feature