]> SALOME platform Git repositories - modules/shaper.git/blob - src/PartSet/PartSet_OperationSketchBase.h
Salome HOME
Search module's features in different plugins.
[modules/shaper.git] / src / PartSet / PartSet_OperationSketchBase.h
1 #ifndef PartSet_OperationSketchBase_H
2 #define PartSet_OperationSketchBase_H
3
4 #include "PartSet.h"
5
6 #include <TopoDS_Shape.hxx>
7
8 #include <ModuleBase_PropPanelOperation.h>
9 #include <QObject>
10
11 /*!
12  \class PartSet_OperationSketchBase
13  * \brief The base operation for the sketch features.
14  *
15  *  Base class for all sketch operations. It provides an access to the feature preview
16 */
17 class PARTSET_EXPORT PartSet_OperationSketchBase : public ModuleBase_PropPanelOperation
18 {
19 Q_OBJECT
20 public:
21   PartSet_OperationSketchBase(const QString& theId, QObject* theParent);
22   virtual ~PartSet_OperationSketchBase();
23
24   const TopoDS_Shape& preview() const;
25
26 signals:
27   void visualizePreview();
28
29 protected:
30   virtual void startOperation();
31 };
32
33 #endif