X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FXGUI%2FXGUI_FacesPanel.h;h=50dfacc5d214931ce5001b48a195da71ae349a1b;hb=eb860f799eab680975365d8ce18cec6e04a6f391;hp=68a3ce53bd71b7be1b39341eb9648767052f85d7;hpb=584f97832c77adf0c9df154b2f3eb1835bd3ce9e;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_FacesPanel.h b/src/XGUI/XGUI_FacesPanel.h index 68a3ce53b..50dfacc5d 100644 --- a/src/XGUI/XGUI_FacesPanel.h +++ b/src/XGUI/XGUI_FacesPanel.h @@ -22,13 +22,15 @@ #include "XGUI.h" -#include - #include #include #include #include +#include +#include +#include + #include #include @@ -122,18 +124,6 @@ public: /// \param theEvent an event virtual bool eventFilter(QObject* theObject, QEvent *theEvent); - /// Hide/show faces of the object if: - /// - face selector is active - /// - object is mentioned in the list of selected elements - /// If the object is displayed, all panel faces selected on it will be moved into presentation - /// or, if redisplayed, fuction return if the object should be redisplayed or not - /// \param theObject a customized object - /// \param thePresentation visualized presentation of the object - /// \return true if the presentation is customized - bool customizeObject(const std::shared_ptr& theObject, - const std::shared_ptr& thePresentation); - - XGUI_Workshop* workshop() const { return myWorkshop; } @@ -167,10 +157,14 @@ private: /// \param thePrs a selected presintation /// \param theObjectsToShapes map of objects to shapes list /// \param theObjectToPrs map of objects to presentations - void getObjectsMapFromPrs(ModuleBase_ViewerPrsPtr thePrs, + void getObjectsMapFromResult(ResultGroupPtr theResGroup, FeaturePtr theGroupFeature, std::map& theObjectsToShapes, std::map& theObjectToPrs); + void getObjectsMapFromPrs(ModuleBase_ViewerPrsPtr thePrs, + std::map& theObjectToShapes, + std::map& theObjectToPrs); + /// Returns true if transparency choice is checked /// \return boolean value bool useTransparency() const;