#include "XGUI.h"
-#include <ModelAPI_Object.h>
-
#include <ModuleBase_ActionType.h>
#include <ModuleBase_Definitions.h>
#include <ModuleBase_ViewerPrs.h>
#include <ModuleBase_ResultPrs.h>
+#include <ModelAPI_Object.h>
+#include <ModelAPI_ResultGroup.h>
+#include <ModelAPI_Feature.h>
+
#include <SelectMgr_ListOfFilter.hxx>
#include <TopoDS_Shape.hxx>
/// \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<ModelAPI_Object>& theObject,
- const std::shared_ptr<GeomAPI_AISObject>& thePresentation);
-
-
XGUI_Workshop* workshop() const { return myWorkshop; }
/// \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<ObjectPtr, TopoDS_ListOfShape>& theObjectsToShapes,
std::map<ObjectPtr, Handle(ModuleBase_ResultPrs) >& theObjectToPrs);
+ void getObjectsMapFromPrs(ModuleBase_ViewerPrsPtr thePrs,
+ std::map<ObjectPtr, TopoDS_ListOfShape>& theObjectToShapes,
+ std::map<ObjectPtr, Handle(ModuleBase_ResultPrs) >& theObjectToPrs);
+
/// Returns true if transparency choice is checked
/// \return boolean value
bool useTransparency() const;