Salome HOME
It removes AIS curve presentation.
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Utils.h
index 0bdf5d5957cf428ebf944321fa3cff35db0012fc..ab4a3503fe2447636b1ed52b670916de76699b57 100644 (file)
@@ -77,6 +77,17 @@ public:
                                          const CurveCreator_ICurve* theCurve,
                                          CurveCreator_ICurve::SectionToPointList& thePoints );
 
+  /**
+   * Set selected points to the context
+   * \param theContext the viewer context
+   * \param thePoints the curve point indices to be selected in the context
+   */
+  CURVECREATOR_EXPORT static void setSelectedPoints(
+                                         Handle(AIS_InteractiveContext) theContext,
+                                         const CurveCreator_ICurve* theCurve,
+                                         const CurveCreator_ICurve::SectionToPointList& thePoints =
+                                               CurveCreator_ICurve::SectionToPointList() );
+
   /*!
    * \brief Sets the local point context for the 3D viewer.
    * \param theOpen The flag to open or close the local context.