X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_ICurve.hxx;h=40696e9bebe51e741207ff1852a71f72a42c7830;hb=c363fc5c3541669e07cf4d991cc1e94253147ac1;hp=a36ebe92a8d4b34166d166a5bf01667d31d974e3;hpb=a23fa81dd76041264b4ddd65883ea9bfb7cc67bd;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_ICurve.hxx b/src/HYDROCurveCreator/CurveCreator_ICurve.hxx index a36ebe92..40696e9b 100644 --- a/src/HYDROCurveCreator/CurveCreator_ICurve.hxx +++ b/src/HYDROCurveCreator/CurveCreator_ICurve.hxx @@ -26,8 +26,9 @@ #include "CurveCreator_Macro.hxx" #include #include +#include -#include +class Handle_AIS_InteractiveObject; namespace CurveCreator { @@ -57,12 +58,10 @@ namespace CurveCreator class CURVECREATOR_EXPORT CurveCreator_ICurve { public: - typedef std::vector ListAISObjects; - typedef std::pair SectionToPoint; typedef std::deque SectionToPointList; - typedef std::deque>> 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