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 branch 'master' of newgeom:newgeom
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_OperationSketch.h
diff --git
a/src/PartSet/PartSet_OperationSketch.h
b/src/PartSet/PartSet_OperationSketch.h
index 8f3a8fd4e856a4b898641137c8497159a50129de..d40a55331a198a5fdccbb4fdb9cbc8a22872ffda 100644
(file)
--- a/
src/PartSet/PartSet_OperationSketch.h
+++ b/
src/PartSet/PartSet_OperationSketch.h
@@
-35,10
+35,11
@@
public:
virtual std::list<int> getSelectionModes(boost::shared_ptr<ModelAPI_Feature> theFeature) const;
/// Initializes some fields accorging to the feature
virtual std::list<int> getSelectionModes(boost::shared_ptr<ModelAPI_Feature> theFeature) const;
/// Initializes some fields accorging to the feature
- /// \param the
Feature the feature
- /// \param the
Presentations the list of additional
presentations
+ /// \param the
Selected the list of selected presentations
+ /// \param the
Highlighted the list of highlighted
presentations
virtual void init(boost::shared_ptr<ModelAPI_Feature> theFeature,
virtual void init(boost::shared_ptr<ModelAPI_Feature> theFeature,
- const std::list<XGUI_ViewerPrs>& thePresentations);
+ const std::list<XGUI_ViewerPrs>& theSelected,
+ const std::list<XGUI_ViewerPrs>& theHighlighted);
/// Returns the operation sketch feature
/// \returns the sketch instance
/// Returns the operation sketch feature
/// \returns the sketch instance
@@
-80,6
+81,10
@@
signals:
void planeSelected(double theX, double theY, double theZ);
protected:
void planeSelected(double theX, double theY, double theZ);
protected:
+ /// Virtual method called when operation started (see start() method for more description)
+ /// Default impl calls corresponding slot and commits immediately.
+ virtual void startOperation();
+
/// Returns whether the sketch plane is set
/// \return the boolean value whether the sketch is set
bool hasSketchPlane() const;
/// Returns whether the sketch plane is set
/// \return the boolean value whether the sketch is set
bool hasSketchPlane() const;