Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #568: use ordered list view with selection synchronized with object browser...
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ImportPolylineOp.h
diff --git
a/src/HYDROGUI/HYDROGUI_ImportPolylineOp.h
b/src/HYDROGUI/HYDROGUI_ImportPolylineOp.h
index 9dddb0c9ad5aa4dc5d07975267e31805a822ca75..20b2f6e2ee657f03a0124221aab41729005e38da 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ImportPolylineOp.h
+++ b/
src/HYDROGUI/HYDROGUI_ImportPolylineOp.h
@@
-26,9
+26,14
@@
#include "HYDROGUI_Operation.h"
#include <vector>
#include "HYDROGUI_Operation.h"
#include <vector>
+//extern "C" {
+#include <shapelib/shapefil.h>
+//};
+
class SUIT_FileDlg;
class QFile;
class gp_XYZ;
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)
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();
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<HYDROGUI_CurveBlock> myCurveBlocks;
private:
SUIT_FileDlg* myFileDlg;
std::vector<HYDROGUI_CurveBlock> myCurveBlocks;
+ std::vector<SHPObject*> mySHPObjects;
};
#endif
};
#endif