]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_Sketch.h
Salome HOME
Added interfaces to OCC data and algos: features must not depend on OCC
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Sketch.h
index a2b63388a83d7d4a75af49ae21cd2071671865e1..e261df1a8625dc9c275c17af60b3aac5fb3e1a00 100644 (file)
@@ -8,8 +8,6 @@
 #include "SketchPlugin.h"
 #include <SketchPlugin_Feature.h>
 
-#include <TopoDS_Shape.hxx>
-
 /// part reference attribute
 const std::string PART_ATTR_DOC_REF = "SketchDocument";
 
@@ -35,7 +33,7 @@ public:
  SKETCHPLUGIN_EXPORT virtual void initAttributes();
 
   /// Returns the sketch preview
-  SKETCHPLUGIN_EXPORT virtual const TopoDS_Shape& preview();
+  SKETCHPLUGIN_EXPORT virtual const std::shared_ptr<GeomAPI_Shape>& preview();
 
   /// Use plugin manager for features creation
   SketchPlugin_Sketch();