- /** Redisplay the shape if it was displayed
- * \param theObject an object instance
- * \param theUpdateViewer the parameter whether the viewer should be update immediatelly
- */
- void redisplay(ObjectPtr theObject, bool theUpdateViewer = true);
-
- /**
- * Add presentations to current selection. It unhighlight and deselect the current selection.
- * The shape and result components are processed in the values. If the presentation shape is not
- * empty, select it, otherwise select the result.
- * \param theValues a list of presentation to be selected
- * \param theUpdateViewer the parameter whether the viewer should be update immediatelly
- */
- void setSelected(const QList<ModuleBase_ViewerPrs>& theValues, bool theUpdateViewer = true);
+ /// Redisplay the shape if it was displayed
+ /// \param theObject an object instance
+ /// \param theUpdateViewer the parameter whether the viewer should be update immediatelly
+ /// \return true if the object visibility state is changed
+ bool redisplay(ObjectPtr theObject, bool theUpdateViewer = true);