Salome HOME
Correction tab logic.
[modules/shaper.git] / src / XGUI / XGUI_ViewerProxy.h
index bce1db650127e232a9a7c1a272add53edfbcbc76..1e13f70cd589c06e7084fb7041c09160f5c8ea2b 100644 (file)
@@ -6,6 +6,8 @@
 #include "XGUI.h"
 #include <ModuleBase_IViewer.h>
 
+#include <AIS_Trihedron.hxx>
+
 #ifndef HAVE_SALOME
   #include <AppElements_ViewWindow.h>
 #endif
@@ -26,9 +28,15 @@ Q_OBJECT
    /// \param theParent a parent object
   XGUI_ViewerProxy(XGUI_Workshop* theParent);
 
+  /// Connects some signals to the viewer from the module connector
+  void connectViewProxy();
+
   //! Returns AIS_InteractiveContext from current OCCViewer
   virtual Handle(AIS_InteractiveContext) AISContext() const;
 
+  //! Trihedron 3d object shown in the viewer
+  virtual Handle(AIS_Trihedron) trihedron() const;
+
   //! Retrurns V3d_Vioewer from current viewer
   virtual Handle(V3d_Viewer) v3dViewer() const;
 
@@ -96,6 +104,9 @@ signals:
   /// Emits by mouse leaving of the view port
   void leaveViewPort();
 
+  /// Signal emited on selection changed
+  void trihedronVisibilityChanged(bool theState);
+
 protected:
   /// processes the application signals to catch the mouse leaving state of the main window
   /// \param theObject