1 // File: PartSet_OperationSketchBase.h
2 // Created: 20 Apr 2014
3 // Author: Natalia ERMOLAEVA
5 #ifndef PartSet_OperationSketchBase_H
6 #define PartSet_OperationSketchBase_H
10 #include <TopoDS_Shape.hxx>
12 #include <ModuleBase_PropPanelOperation.h>
16 \class PartSet_OperationSketchBase
17 * \brief The base operation for the sketch features.
18 * Base class for all sketch operations. It provides an access to the feature preview
20 class PARTSET_EXPORT PartSet_OperationSketchBase : public ModuleBase_PropPanelOperation
25 /// \param theId an feature index
26 /// \param theParent the object parent
27 PartSet_OperationSketchBase(const QString& theId, QObject* theParent);
29 virtual ~PartSet_OperationSketchBase();
31 /// Returns the feature preview shape
32 const TopoDS_Shape& preview() const;
34 /// Returns the operation local selection mode
35 /// \return the selection mode
36 virtual int getSelectionMode() const;