1 #ifndef PartSet_OperationSketchBase_H
2 #define PartSet_OperationSketchBase_H
6 #include <TopoDS_Shape.hxx>
8 #include <ModuleBase_PropPanelOperation.h>
12 \class PartSet_OperationSketchBase
13 * \brief The base operation for the sketch features.
15 * Base class for all sketch operations. It provides an access to the feature preview
17 class PARTSET_EXPORT PartSet_OperationSketchBase : public ModuleBase_PropPanelOperation
21 PartSet_OperationSketchBase(const QString& theId, QObject* theParent);
22 virtual ~PartSet_OperationSketchBase();
24 const TopoDS_Shape& preview() const;
28 * The signal about preview visualization.
29 * \param isDisplay a state whether the preview should be displayed or erased
31 void visualizePreview(bool isDisplay);
34 virtual void startOperation();
35 virtual void stopOperation();