Salome HOME
OCC functionality moving out from the widget
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Curve.hxx
index 5747dd8bbc2dce64eb6006d3a7b565b098701345..0981118855dd49a6dc4d328b599dba49ac38e137 100644 (file)
@@ -28,6 +28,7 @@
 #include "CurveCreator_Macro.hxx"
 #include "CurveCreator.hxx"
 #include "CurveCreator_Diff.hxx"
+#include "CurveCreator_AISCurve.hxx"
 
 #include <AIS_Point.hxx>
 #include <AIS_Line.hxx>
@@ -109,10 +110,11 @@ protected:
    */
   virtual bool addEmptyDiff();
 
+public: // TODO: remove public
   Handle_AIS_Point getAISPoint( int theISection, int theIPoint ) const;
   Handle_AIS_Line  getAISLine( int theISection, int theIPoint1, int theIPoint2 ) const;
   void getCoordinates( int theISection, int theIPoint, double& theX, double& theY, double& theZ ) const;
-
+protected:  // TODO: remove public
   void redisplayCurve();
 
   void convert( const SectionToPointList &thePoints,
@@ -268,8 +270,11 @@ public:
   /***********************************************/
   virtual ListAISObjects constructWire() const;
 
-public:
+public: // TODO: remove
+  void getPoint( const int theSectionId, const int thePointId, gp_Pnt& thePoint ) const;
 
+public:
+  Handle(CurveCreator_AISCurve)   myAISCurve;
   bool                            myIsLocked;
   CurveCreator::Sections          mySections;   //!< curve data
   CurveCreator::Dimension         myDimension;  //!< curve dimension