Salome HOME
Issue #653 - Double and triple click edges -- Fix Debian dynamic_pointer_cast problem...
[modules/shaper.git] / src / ModuleBase / ModuleBase_IViewWindow.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 #ifndef ModuleBase_IViewWindow_H
4 #define ModuleBase_IViewWindow_H
5
6 #include "ModuleBase.h"
7
8 #include <V3d_View.hxx>
9
10 class QWidget;
11
12 /** 
13 * \ingroup GUI
14 * Interface to ViewWindow object which contains 3d scene
15 */
16 class MODULEBASE_EXPORT ModuleBase_IViewWindow
17 {
18 public:
19   /// Default constructor
20   ModuleBase_IViewWindow();
21   /// Virtual destructor
22   virtual ~ModuleBase_IViewWindow();
23   
24   /// Returns OCCT object which contains 3d view object
25   virtual Handle(V3d_View) v3dView() const = 0;
26
27   /// Returns the view window view port
28   virtual QWidget* viewPort() const = 0;
29 };
30
31
32 #endif