X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Displayer.h;h=dd221d7bf9cbb9b9398e501f31fa1858270c48e6;hb=220bd2b37119be1c65abf88a88792445cb9d99f8;hp=5a325fc8c4994ebd90f1305d6a963b736f216111;hpb=834c7f08a1f839bc1cf11d5c206a9d44298bf508;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Displayer.h b/src/XGUI/XGUI_Displayer.h index 5a325fc8c..dd221d7bf 100644 --- a/src/XGUI/XGUI_Displayer.h +++ b/src/XGUI/XGUI_Displayer.h @@ -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