Salome HOME
Make same planes cannot be used twice in partition tool
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index 5a325fc8c4994ebd90f1305d6a963b736f216111..dd221d7bf9cbb9b9398e501f31fa1858270c48e6 100644 (file)
@@ -247,6 +247,13 @@ class XGUI_EXPORT XGUI_Displayer: public QObject
   /// \param theShapeType a shape type from TopAbs_ShapeEnum
   static int getSelectionMode(int theShapeType);
 
+  /// Return true if the object is visible. If the object is feature, it returns true
+  /// if all results of the feature are shown
+  /// \param theDisplayer a displayer
+  /// \param theObject an object
+  /// \return a boolean value
+  static bool isVisible(XGUI_Displayer* theDislayer, const ObjectPtr& theObject);
+
 signals:
   /// Signal on object display
   /// \param theObject a data object