X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IViewWindow.h;h=597d884a35c9596accb00dc3337b37efbec19374;hb=22a466df8defc1c65441ca593608d04e3c9eeb6c;hp=fcf763e4424f706c3fbd7a8357e13c95b556c452;hpb=eb46781716082e5c57561426894fe4c0c989224e;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IViewWindow.h b/src/ModuleBase/ModuleBase_IViewWindow.h index fcf763e44..597d884a3 100644 --- a/src/ModuleBase/ModuleBase_IViewWindow.h +++ b/src/ModuleBase/ModuleBase_IViewWindow.h @@ -1,19 +1,31 @@ - +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D #ifndef ModuleBase_IViewWindow_H #define ModuleBase_IViewWindow_H +#include "ModuleBase.h" + #include +class QWidget; /** +* \ingroup GUI * Interface to ViewWindow object which contains 3d scene */ -class ModuleBase_IViewWindow +class MODULEBASE_EXPORT ModuleBase_IViewWindow { public: + /// Default constructor + ModuleBase_IViewWindow(); + /// Virtual destructor + virtual ~ModuleBase_IViewWindow(); + /// Returns OCCT object which contains 3d view object virtual Handle(V3d_View) v3dView() const = 0; + + /// Returns the view window view port + virtual QWidget* viewPort() const = 0; };