1 // File: ModuleBase_IWorkshop.h
2 // Created: 2 June 2014
3 // Author: Vitaly Smetannikov
5 #ifndef ModuleBase_IWorkshop_H
6 #define ModuleBase_IWorkshop_H
8 #include "ModuleBase.h"
10 #include <ModelAPI_Feature.h>
12 #include <AIS_InteractiveContext.hxx>
17 * Class which provides access to Workshop object serveces
19 class MODULEBASE_EXPORT ModuleBase_IWorkshop: public QObject
23 ModuleBase_IWorkshop(QObject* theParent):QObject(theParent) {}
25 virtual ~ModuleBase_IWorkshop() {};
27 //! Returns AIS_InteractiveContext from current OCCViewer
28 virtual Handle(AIS_InteractiveContext) AISContext() const = 0;
30 //! Returns list of currently selected data objects
31 virtual QList<FeaturePtr> selectedFeatures() const = 0;
34 void selectionChanged();