X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ImportPolylineOp.h;h=20b2f6e2ee657f03a0124221aab41729005e38da;hb=d6e19029f8b41f295db878e9aecf451c2edda4af;hp=9dddb0c9ad5aa4dc5d07975267e31805a822ca75;hpb=f0688b4c39fcc3e49c2b58a90724b9c1c84f1337;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ImportPolylineOp.h b/src/HYDROGUI/HYDROGUI_ImportPolylineOp.h index 9dddb0c9..20b2f6e2 100644 --- a/src/HYDROGUI/HYDROGUI_ImportPolylineOp.h +++ b/src/HYDROGUI/HYDROGUI_ImportPolylineOp.h @@ -26,9 +26,14 @@ #include "HYDROGUI_Operation.h" #include +//extern "C" { +#include +//}; + 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) @@ -55,11 +60,15 @@ public: protected: virtual void startOperation(); virtual void onApply(); - virtual void Process(); - bool Parse( QFile& theFile ); + void ProcessSX(); + bool Parse( QFile& theFile ); + void Parse( SHPHandle theHandle); + void ProcessSHPPolyXY(SHPObject* anObj, QString theFileName, int theInd); + void ProcessSHPPoly3D(SHPObject* anObj, QString theFileName, int theInd); private: SUIT_FileDlg* myFileDlg; std::vector myCurveBlocks; + std::vector mySHPObjects; }; #endif