Salome HOME
Using stl container instead of Qt.
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Utils.h
index f727601d588f5e0cf4943466c1ec3a2b8d74efe2..7d901d11574e93d62551a61acb67b6da7b8f0a13 100644 (file)
@@ -29,6 +29,18 @@ class CurveCreator_Utils
 {
 public:
 
+    /*!
+   * \brief Returns the point clicked in 3D view.
+   *
+   * \param x The X coordinate in the view.
+   * \param y The Y coordinate in the view.
+   * \param theView View where the given point takes place.
+   * \retval gp_Pnt Returns the point clicked in 3D view
+   */
+  CURVECREATOR_EXPORT static void ConvertPointToClick( const gp_Pnt& thePoint,
+                                                       Handle(V3d_View) theView,
+                                                       int& x, int& y );
+
   /*!
    * \brief Returns the point clicked in 3D view.
    *