Salome HOME
OCC functionality moving out from the widget
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_AISCurve.hxx
index 292e77c077edfe696913b6235544262724ae692b..5c01627e946ec3e2a032b602afe7ff7041e2c034 100644 (file)
@@ -26,8 +26,9 @@
 #include <Standard_DefineHandle.hxx>   
 
 #include <AIS_Shape.hxx>
+#include <gp_Pnt.hxx>
 
-class CurveCreator_ICurve;
+class CurveCreator_Curve;
 
 DEFINE_STANDARD_HANDLE(CurveCreator_AISCurve, AIS_Shape)
 
@@ -38,7 +39,7 @@ DEFINE_STANDARD_HANDLE(CurveCreator_AISCurve, AIS_Shape)
 class CurveCreator_AISCurve : public AIS_Shape
 {
 public:
-  Standard_EXPORT CurveCreator_AISCurve( CurveCreator_ICurve* theCurve );
+  Standard_EXPORT CurveCreator_AISCurve( CurveCreator_Curve* theCurve );
 
 protected:
   /**
@@ -63,7 +64,10 @@ public:
   DEFINE_STANDARD_RTTI(CurveCreator_AISCurve)
 
 protected:
-  CurveCreator_ICurve* myCurve;
+  void getPoint( const int theSectionId, const int thePointId, gp_Pnt& thePoint );
+
+protected:
+  CurveCreator_Curve* myCurve;
 };
 
 #endif // CURVECREATOR_AIS_CURVE_H