Salome HOME
[bos #40506][CEA] Cannot hide faces of a group
[modules/shaper.git] / src / XGUI / XGUI_FacesPanel.h
index a76dfa550cc5c41e5fd3fd1d6c2cb26e6f024d6f..87650843ea8f0bd172a28697a13d1e3f6418b07e 100644 (file)
@@ -28,7 +28,6 @@
 #include <ModuleBase_ResultPrs.h>
 
 #include <ModelAPI_Object.h>
-#include <ModelAPI_ResultGroup.h>
 #include <ModelAPI_Feature.h>
 
 #include <GeomAPI_AISObject.h>
@@ -159,20 +158,6 @@ private:
   static void updateProcessedObjects(QMap<int, ModuleBase_ViewerPrsPtr> theItems,
                                      std::set<ObjectPtr>& theObjects);
 
-  /// Returns maps of shapes and presentations. If object is a body result then it returns
-  /// its ruslts. If it is a group then it returns result of shapes included into the gropup
-  /// The function doesn't clear content of input maps.
-  /// \param thePrs a selected presintation
-  /// \param theObjectsToShapes map of objects to shapes list
-  /// \param theObjectToPrs map of objects to presentations
-  void getObjectsMapFromResult(ResultGroupPtr theResGroup, FeaturePtr theGroupFeature,
-    std::map<ObjectPtr, TopoDS_ListOfShape>& theObjectsToShapes,
-    std::map<ObjectPtr, Handle(ModuleBase_ResultPrs) >& theObjectToPrs);
-
-  void getObjectsMapFromPrs(ModuleBase_ViewerPrsPtr thePrs,
-    std::map<ObjectPtr, TopoDS_ListOfShape>& theObjectToShapes,
-    std::map<ObjectPtr, Handle(ModuleBase_ResultPrs) >& theObjectToPrs);
-
   /// Returns true if transparency choice is checked
   /// \return boolean value
   bool useTransparency() const;
@@ -208,7 +193,6 @@ private:
   QMap<int, ModuleBase_ViewerPrsPtr> myItems; ///< selected face items
   std::set<ObjectPtr > myItemObjects; ///< cached objects of myItems
   std::set<ObjectPtr > myHiddenObjects; ///< hidden objects
-  std::set<ObjectPtr > myHiddenGroups; ///< hidden objects
 };
 
 #endif