X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_SketcherMgr.h;h=62e67fac2bd3a3beaa07f25473996e149f0f0f1a;hb=3f9cf46387aced1e032add4fe903b7d3ef72edc2;hp=5396144b3aa48a213182cb80a5fdb159532556a0;hpb=87b6a30a3afb8fb32e7e43ade8d9c947d9eb1684;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_SketcherMgr.h b/src/PartSet/PartSet_SketcherMgr.h index 5396144b3..62e67fac2 100644 --- a/src/PartSet/PartSet_SketcherMgr.h +++ b/src/PartSet/PartSet_SketcherMgr.h @@ -25,6 +25,7 @@ #include "PartSet_Filters.h" #include "PartSet_Tools.h" +#include "PartSet_PreviewSketchPlane.h" #include #include @@ -50,6 +51,7 @@ class ModuleBase_ModelWidget; class ModuleBase_Operation; class XGUI_OperationMgr; class XGUI_Workshop; +class PartSet_ExternalPointsMgr; class AIS_InteractiveObject; @@ -170,6 +172,10 @@ public: /// Returns current Sketch feature/ Returns NULL if there is no launched sketch operation CompositeFeaturePtr activeSketch() const { return myCurrentSketch; } + /// Returns help class to visualize sketcher plane + /// \return a preview plane + PartSet_PreviewSketchPlane* previewSketchPlane() const { return mySketchPlane; } + /// Starts sketch operation void startSketch(ModuleBase_Operation* ); @@ -412,6 +418,7 @@ private: private: PartSet_Module* myModule; + PartSet_PreviewSketchPlane* mySketchPlane; // display/erase sketch plane on start/stop sketch bool myPreviousDrawModeEnabled; // the previous selection enabled state in the viewer bool myIsEditLaunching; @@ -432,6 +439,8 @@ private: bool myPreviousUpdateViewerEnabled; QMap myIsConstraintsShown; + + PartSet_ExternalPointsMgr* myExternalPointsMgr; };