Salome HOME
refs #1330: basic implementation of the not zoomable polyline arrows
[modules/hydro.git] / src / HYDROData / HYDROData_ShapesGroup.h
index af057059ee24445978cfa3a3b289f317f4551861..71c4c4be0b2a43ab65db25755cabaef5aef9ec82 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
 #define HYDROData_ShapesGroup_HeaderFile
 
 #include <HYDROData_Entity.h>
-
 #include <TopTools_SequenceOfShape.hxx>
-
+#include <TopTools_ListOfShape.hxx>
 #include <QString>
 
 class TopoDS_Shape;
-class TopTools_ListOfShape;
 class BRepBuilderAPI_MakeShape;
 class ShapeUpgrade_UnifySameDomain;
-
-DEFINE_STANDARD_HANDLE(HYDROData_ShapesGroup, HYDROData_Entity)
+class BRepTools_ReShape;
 
 /**\class HYDROData_ShapesGroup
  * \brief Class that stores/retreives the sequence of shapes.
@@ -53,6 +46,10 @@ public:
     static void Update( NCollection_Sequence<GroupDefinition>* theGroupsDefs,
                         ShapeUpgrade_UnifySameDomain*          theAlgo );
 
+    static void Update( NCollection_Sequence<GroupDefinition>* theGroupsDefs,
+                        BRepTools_ReShape*                     theAlgo );
+    
+
     void        Dump( std::ostream& theStream ) const;
 
     static void Dump( std::ostream&                                theStream,
@@ -74,7 +71,7 @@ protected:
   };
 
 public:
-  DEFINE_STANDARD_RTTI(HYDROData_ShapesGroup);
+  DEFINE_STANDARD_RTTIEXT(HYDROData_ShapesGroup, HYDROData_Entity);
 
   /**
    * Returns the kind of this object. Must be redefined in all objects of known type.