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
Changes in the presentations of features
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Sketch.h
diff --git
a/src/SketchPlugin/SketchPlugin_Sketch.h
b/src/SketchPlugin/SketchPlugin_Sketch.h
index 7470d716129c75343ab23cbf47c7311335e9c28a..d88267bed29d83b43bec9b3c963ca73bfedb039e 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Sketch.h
+++ b/
src/SketchPlugin/SketchPlugin_Sketch.h
@@
-8,6
+8,7
@@
#include "SketchPlugin.h"
#include <SketchPlugin_Feature.h>
#include <GeomAPI_Pnt.h>
#include "SketchPlugin.h"
#include <SketchPlugin_Feature.h>
#include <GeomAPI_Pnt.h>
+#include <GeomAPI_Pln.h>
#include <list>
/// Sketch feature kind
#include <list>
/// Sketch feature kind
@@
-48,6
+49,10
@@
public:
/// Returns the sketch preview
SKETCHPLUGIN_EXPORT virtual const boost::shared_ptr<GeomAPI_Shape>& preview();
/// Returns the sketch preview
SKETCHPLUGIN_EXPORT virtual const boost::shared_ptr<GeomAPI_Shape>& preview();
+ /// Returns the AIS preview
+ SKETCHPLUGIN_EXPORT virtual boost::shared_ptr<GeomAPI_AISObject> getAISObject(
+ boost::shared_ptr<GeomAPI_AISObject> thePrevious);
+
/// Adds sub-feature of the higher level feature (sub-element of the sketch)
/// \param theFeature sub-feature
SKETCHPLUGIN_EXPORT virtual const void addSub(
/// Adds sub-feature of the higher level feature (sub-element of the sketch)
/// \param theFeature sub-feature
SKETCHPLUGIN_EXPORT virtual const void addSub(
@@
-71,6
+76,9
@@
public:
/// Use plugin manager for features creation
SketchPlugin_Sketch();
/// Use plugin manager for features creation
SketchPlugin_Sketch();
+
+ /// Returns the basis plane for the sketch
+ boost::shared_ptr<GeomAPI_Pln> plane();
protected:
/// Creates a plane and append it to the list
/// \param theX the X normal value
protected:
/// Creates a plane and append it to the list
/// \param theX the X normal value