Salome HOME
refs #1813 ... lot 14 combined commit : parts : 1 - 16
[modules/hydro.git] / src / HYDROData / HYDROData_ShapeFile.h
index 41f2200f7a4a2530089576407349d80f0c8e19f2..b546bd235a5123a713ea2826bd283d930db6d19a 100644 (file)
@@ -63,6 +63,13 @@ enum DBF_FieldType
   DBF_FieldType_Invalid
 };
 
+enum ImportShapeType
+{
+  ImportShapeType_Polyline,
+  ImportShapeType_Polyline3D,
+  ImportShapeType_Polygon,
+  ImportShapeType_All
+};
 
 struct DBF_AttrValue
 {
@@ -130,7 +137,8 @@ public:
                      int theInd, NCollection_Sequence<Handle(HYDROData_Entity)>& theEntities);
 
   HYDRODATA_EXPORT int ImportPolylines(Handle(HYDROData_Document) theDocument, const QString& theFileName, 
-                                       NCollection_Sequence<Handle(HYDROData_Entity)>& theEntities, int& theShapeTypeOfFile);
+                                       NCollection_Sequence<Handle(HYDROData_Entity)>& theEntities, int& theShapeTypeOfFile,
+                                       ImportShapeType theShapeTypesToImport);
 
   HYDRODATA_EXPORT QString GetShapeTypeName(int theType);