1 // File: PartSet_OperationSketch.h
2 // Created: 20 Apr 2014
3 // Author: Natalia ERMOLAEVA
5 #ifndef PartSet_OperationSketch_H
6 #define PartSet_OperationSketch_H
10 #include <PartSet_OperationSketchBase.h>
14 \class PartSet_OperationSketch
15 * \brief The operation for the sketch feature creation
17 class PARTSET_EXPORT PartSet_OperationSketch : public PartSet_OperationSketchBase
22 /// \param theId the feature identifier
23 /// \param theParent the operation parent
24 PartSet_OperationSketch(const QString& theId, QObject* theParent);
26 virtual ~PartSet_OperationSketch();
28 /// Returns the operation local selection mode
29 /// \return the selection mode
30 virtual int getSelectionMode() const;
32 /// Gives the current selected objects to be processed by the operation
33 /// \param theList a list of interactive selected shapes
34 /// \param theSelectedPoint a point clidked in the viewer
35 virtual void setSelectedShapes(const NCollection_List<TopoDS_Shape>& theList);
38 /// signal about the sketch plane is selected
39 /// \param theX the value in the X direction of the plane
40 /// \param theX the value in the Y direction value of the plane
41 /// \param theX the value in the Z direction of the plane
42 void planeSelected(double theX, double theY, double theZ);