Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'remotes/origin/SolveSpace'
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Feature.cpp
diff --git
a/src/SketchPlugin/SketchPlugin_Feature.cpp
b/src/SketchPlugin/SketchPlugin_Feature.cpp
index 57bc3582d406a411e1e1cecd1029b40c14d2077c..e7d9d292ac90e44937429ac44a5ea2fb23052938 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Feature.cpp
+++ b/
src/SketchPlugin/SketchPlugin_Feature.cpp
@@
-1,18
+1,11
@@
#include "SketchPlugin_Feature.h"
#include "SketchPlugin_Feature.h"
-/**
- * Returns the sketch preview
- */
-const TopoDS_Shape& SketchPlugin_Feature::preview()
+void SketchPlugin_Feature::setPreview(const boost::shared_ptr<GeomAPI_Shape>& theShape)
{
{
-
return myPreview
;
+
myPreview = theShape
;
}
}
-/**
- * Set the shape to the internal preview field
- * \param theShape a preview shape
- */
-void SketchPlugin_Feature::setPreview(const TopoDS_Shape& theShape)
+const boost::shared_ptr<GeomAPI_Shape>& SketchPlugin_Feature::getPreview() const
{
{
-
myPreview = theShape
;
+
return myPreview
;
}
}