Salome HOME
63375e5e60bae4cbe03c5c384b82e99fca12a185
[modules/shaper.git] / src / PartSet / PartSet_OperationSketch.h
1 // File:        PartSet_OperationSketch.h
2 // Created:     20 Apr 2014
3 // Author:      Natalia ERMOLAEVA
4
5 #ifndef PartSet_OperationSketch_H
6 #define PartSet_OperationSketch_H
7
8 #include "PartSet.h"
9
10 #include <PartSet_OperationSketchBase.h>
11 #include <QObject>
12
13 /*!
14  \class PartSet_OperationSketch
15  * \brief The operation for the sketch feature creation
16 */
17 class PARTSET_EXPORT PartSet_OperationSketch : public PartSet_OperationSketchBase
18 {
19   Q_OBJECT
20 public:
21   /// Constructor
22   /// \param theId the feature identifier
23   /// \param theParent the operation parent
24   PartSet_OperationSketch(const QString& theId, QObject* theParent);
25   /// Destructor
26   virtual ~PartSet_OperationSketch();
27
28   /// The sketch can not be created immediately, firstly a plane should be set
29   virtual bool isPerformedImmediately() const;
30 };
31
32 #endif