Salome HOME
refs #525: autocolor of zones in a calculation case.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.h
index 97ae84b036615735a3d9934dc3182fde1e3981af..b0dbd20c91bf83caeb17c2630b1619e9fe1394b2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// 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
@@ -6,7 +6,7 @@
 // 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
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -135,6 +135,8 @@ public:
    */
   void                            setIsToUpdate( const Handle(HYDROData_Entity)& theObject,
                                                  const bool theState = true );
+  QList<HYDROGUI_Shape*>          getObjectShapes( const int  theViewId,
+                                                   ObjectKind theKind ) const;
   HYDROGUI_Shape*                 getObjectShape( const int                       theViewId,
                                                   const Handle(HYDROData_Entity)& theObject ) const;
   void                            setObjectShape( const int                       theViewId,
@@ -173,9 +175,6 @@ public:
    */
   virtual bool                    renameObject( const QString& theEntry, const QString& theName );
 
-  int                             getObjectDisplayOrder( const int theViewId,
-                                                         const Handle(HYDROData_Entity)& theObject ) const;
-
   QStack<HYDROGUI_Operation*>&    getActiveOperations();
   HYDROGUI_Operation*             activeOperation();
 
@@ -246,7 +245,6 @@ private:
   ViewManagerMap                  myViewManagerMap;
   ViewId2Entry2ObjectStateMap     myObjectStateMap;
 
-  QMap<int, QStringList>          myObjectDisplayOrderMap;
   QStack<HYDROGUI_Operation*>     myActiveOperationMap;
 
   ViewId2ListOfShapes             myShapesMap;