20 #ifndef ModuleBase_WidgetSelector_H
21 #define ModuleBase_WidgetSelector_H
23 #include "ModuleBase.h"
24 #include "ModuleBase_WidgetValidated.h"
25 #include "ModuleBase_Definitions.h"
27 #include <ModelAPI_Object.h>
28 #include <ModelAPI_Attribute.h>
29 #include <GeomAPI_Shape.h>
59 virtual void selectionModes(
int& theModuleSelectionModes, QIntList& theModes);
65 virtual void updateSelectionModesAndFilters(
bool toActivate);
82 virtual QList<std::shared_ptr<ModuleBase_ViewerPrs>> getAttributeSelection()
const;
84 virtual bool isWholeResultAllowed()
const;
92 virtual void updateOnSelectionChanged(
const bool theDone);
100 QIntList getShapeTypes()
const;
119 bool acceptSubShape(
const GeomShapePtr& theShape,
120 const std::shared_ptr<ModelAPI_Result>& theResult)
const;
126 virtual void getGeomSelection(
const std::shared_ptr<ModuleBase_ViewerPrs>& thePrs,
127 ObjectPtr& theObject,
128 GeomShapePtr& theShape);
131 bool myIsPointsFiltering;
The result of a feature.
Definition: ModelAPI_Result.h:37
Class which provides access to Workshop object services.
Definition: ModuleBase_IWorkshop.h:48
Presentation.
Definition: ModuleBase_ViewerPrs.h:37