X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModuleBase%2FModuleBase_IViewWindow.h;h=a5930c1ed330eab1f079b8fd5a659d448d62fedb;hb=8bc0ecf3493230331bfa21dc66a72b1a590bf42d;hp=fcf763e4424f706c3fbd7a8357e13c95b556c452;hpb=a7f44a41bdf29e7bd978ff3b8c8bd514d1223be7;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IViewWindow.h b/src/ModuleBase/ModuleBase_IViewWindow.h index fcf763e44..a5930c1ed 100644 --- a/src/ModuleBase/ModuleBase_IViewWindow.h +++ b/src/ModuleBase/ModuleBase_IViewWindow.h @@ -1,19 +1,48 @@ - +// Copyright (C) 2014-2020 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #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; };