Salome HOME
Avoid of Fit all for 2d mode change
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_ICurve.hxx
index a36ebe92a8d4b34166d166a5bf01667d31d974e3..40696e9bebe51e741207ff1852a71f72a42c7830 100644 (file)
@@ -26,8 +26,9 @@
 #include "CurveCreator_Macro.hxx"
 #include <deque>
 #include <vector>
+#include <string>
 
-#include <AIS_InteractiveObject.hxx>
+class Handle_AIS_InteractiveObject;
 
 namespace CurveCreator
 {
@@ -57,12 +58,10 @@ namespace CurveCreator
 class CURVECREATOR_EXPORT CurveCreator_ICurve
 {
 public:
-  typedef std::vector<Handle_AIS_InteractiveObject> ListAISObjects;
-
   typedef std::pair<int,int> SectionToPoint;
   typedef std::deque<SectionToPoint> SectionToPointList;
 
-  typedef std::deque<std::pair<SectionToPoint,std::deque<float>>> SectionToPointCoordsList;
+  typedef std::deque< std::pair< SectionToPoint,std::deque< float > > > SectionToPointCoordsList;
 
 public:
   /***********************************************/
@@ -179,7 +178,12 @@ public:
   /***********************************************/
   /***       Presentation methods              ***/
   /***********************************************/
-  virtual ListAISObjects constructWire() const = 0;
+
+  virtual Handle_AIS_InteractiveObject getAISObject( const bool theNeedToBuild = false ) const = 0;
+
+protected:
+  virtual void constructAISObject() = 0;
+
 };
 
 #endif