]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_Feature.h
Salome HOME
Move generation of AIS presentation into SketchPlugin
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Feature.h
index 5563c90135b31b815bb9398b0e2d185a78470395..08476395845b4718e3b2c028a27d435cbe171677 100644 (file)
@@ -11,6 +11,7 @@
 
 class SketchPlugin_Sketch;
 class GeomAPI_Pnt2d;
+class Handle_AIS_InteractiveObject;
 
 /**\class SketchPlugin_Feature
  * \ingroup DataModel
@@ -25,6 +26,9 @@ public:
   /// \return the built preview
   SKETCHPLUGIN_EXPORT virtual const boost::shared_ptr<GeomAPI_Shape>& preview() = 0;
 
+  /// Returns the AIS preview
+  SKETCHPLUGIN_EXPORT virtual Handle_AIS_InteractiveObject getAISShape(Handle_AIS_InteractiveObject thePrevious);
+
   /// Adds sub-feature of the higher level feature (sub-element of the sketch)
   /// \param theFeature sub-feature
   SKETCHPLUGIN_EXPORT virtual const void addSub(