+ /// Set sketch specific mode of selection
+ void setSketchingMode();
+
+ private:
+ /// Create preview of planes for sketch plane selection
+ /// \param theOrigin an origin of the plane
+ /// \param theNorm a normal vector of the plane
+ /// \param theRGB a color of plane presentation [r, g, b] array
+ AISObjectPtr createPreviewPlane(std::shared_ptr<GeomAPI_Pnt> theOrigin,
+ std::shared_ptr<GeomAPI_Dir> theNorm,
+ const int theRGB[3]);
+
+ /// Set sketch plane by shape
+ /// \param theShape a planar face
+ std::shared_ptr<GeomAPI_Dir> setSketchPlane(const TopoDS_Shape& theShape);
+
+ /// Erase preview planes
+ void erasePreviewPlanes();
+
+ /// Show preview planes
+ void showPreviewPlanes();
+