Salome HOME
refs #640: correct width for non-georeferenced profile
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportSinusXOp.h
index dcd38ed554c01c8a09b56ae4e738d0ddf761c564..d2abad60474f803dc33f4eecf50152f05eaf8c60 100644 (file)
 #define HYDROGUI_IMPORTSINUSX_H
 
 #include "HYDROGUI_Operation.h"
-#include <vector>
+#include <NCollection_Sequence.hxx>
 
 class SUIT_FileDlg;
-class QFile;
-class gp_XYZ;
-
-struct HYDROGUI_CurveBlock
-{
-  //HYDROGUI_CurveBlock() : myType(-1), myIsConnected(false), myIsClosed(false), myName(""), myCurvePlane(-1), myRefRatio(1.0) 
-    //{};
-  std::vector<gp_XYZ> myXYZPoints;
-  int myType;
-  bool myIsSpline;
-  bool myIsClosed;
-  int myCurvePlane;
-  QString myName;
-  std::vector<double> myAdditionalCurveInfo;
-  std::vector<double> myRefCoords;
-  double myRefRatio;
-};
+class Handle_HYDROData_Entity;
 
 class HYDROGUI_ImportSinusXOp : public HYDROGUI_Operation
 {
@@ -56,11 +40,9 @@ public:
 protected:
   virtual void startOperation();
   virtual void onApply();
-  void ProcessSX();
-  bool Parse( QFile& theFile );
+  void UpdateView( NCollection_Sequence<Handle_HYDROData_Entity>& anEntities);
 private:
   SUIT_FileDlg* myFileDlg;
-  std::vector<HYDROGUI_CurveBlock> myCurveBlocks;
 };
 
 #endif