#include <vector>
//extern "C" {
-#include <shapelib/shapefil.h>
+#include <shapefil.h>
//};
class SUIT_FileDlg;
class gp_XYZ;
class Handle_HYDROData_PolylineXY;
class Handle_HYDROData_Polyline3D;
+class Handle_HYDROData_LandCover;
+class TopoDS_Face;
class HYDROGUI_ExportFileOp : public HYDROGUI_Operation
{
protected:
virtual void startOperation();
- void WriteObjectPolyXY(SHPHandle theShpHandle, Handle_HYDROData_PolylineXY thePoly );
- void WriteObjectPoly3D(SHPHandle theShpHandle, Handle_HYDROData_Polyline3D thePoly );
+ int WriteObjectPolyXY(SHPHandle theShpHandle, Handle_HYDROData_PolylineXY thePoly );
+ int WriteObjectPoly3D(SHPHandle theShpHandle, Handle_HYDROData_Polyline3D thePoly );
+ int WriteObjectLC(SHPHandle theShpHandle, Handle_HYDROData_LandCover theLC );
+private:
+ void ProcessFace(TopoDS_Face theFace, SHPHandle theShpHandle);
private:
SUIT_FileDlg* myFileDlg;
std::vector<SHPObject*> mySHPObjects;