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
Issue #1351: partition is not done
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_WidgetShapeSelector.h
diff --git
a/src/PartSet/PartSet_WidgetShapeSelector.h
b/src/PartSet/PartSet_WidgetShapeSelector.h
index 0f9a88218489236723d2902a1e4769ce82a2f866..93cf342d77248d5524a6dd0b9c6dfa401ef85a78 100644
(file)
--- a/
src/PartSet/PartSet_WidgetShapeSelector.h
+++ b/
src/PartSet/PartSet_WidgetShapeSelector.h
@@
-42,6
+42,10
@@
Q_OBJECT
/// Retrurns installed sketcher
CompositeFeaturePtr sketch() const { return mySketch; }
/// Retrurns installed sketcher
CompositeFeaturePtr sketch() const { return mySketch; }
+ /// Activate or deactivate selection and selection filters
+ /// \param toActivate boolean state whether it should be activated/deactivated
+ virtual bool activateSelectionAndFilters(bool toActivate);
+
protected:
/// Checks the widget validity. By default, it returns true.
/// \param thePrs a selected presentation in the view
protected:
/// Checks the widget validity. By default, it returns true.
/// \param thePrs a selected presentation in the view
@@
-68,6
+72,8
@@
protected:
/// Pointer to a sketch
CompositeFeaturePtr mySketch;
/// Pointer to a sketch
CompositeFeaturePtr mySketch;
+
+ bool myUseSketchPlane; /// state whether the sketch plane filter should be switched on
};
#endif
\ No newline at end of file
};
#endif
\ No newline at end of file