Salome HOME
Remove extra includes
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index b18eb0f8dc33baafa655ef85c202fbb606389d7d..250caa87a86d3aa6bd0074fa35f18d93360de067 100644 (file)
@@ -23,7 +23,6 @@
 #include <QString>
 #include <QMap>
 
-class XGUI_Viewer;
 class ModelAPI_Feature;
 class XGUI_Workshop;
 
@@ -140,10 +139,14 @@ class XGUI_EXPORT XGUI_Displayer
   void setDisplayMode(ObjectPtr theObject, DisplayMode theMode, bool toUpdate = true);
 
   /// Returns current display mode for the given object.
-  /// If object is not displayed then returns NoMode.
+  /// If object is not dis played then returns NoMode.
   DisplayMode displayMode(ObjectPtr theObject) const;
 
 
+  /// Displays only objects listed in the list
+  void showOnly(const QObjectPtrList& theList);
+
+  /// Returns number of displayed objects
   int objectsCount() const { return myResult2AISObjectMap.size(); }
 
  protected: