Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PythonAPI] Use _fillAttribute() in some sketch functions
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_IViewWindow.h
diff --git
a/src/ModuleBase/ModuleBase_IViewWindow.h
b/src/ModuleBase/ModuleBase_IViewWindow.h
index 89929982ebe3367dfa04a8921fcadd677aa57c1a..597d884a35c9596accb00dc3337b37efbec19374 100644
(file)
--- a/
src/ModuleBase/ModuleBase_IViewWindow.h
+++ b/
src/ModuleBase/ModuleBase_IViewWindow.h
@@
-1,22
+1,31
@@
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-
#ifndef ModuleBase_IViewWindow_H
#define ModuleBase_IViewWindow_H
#ifndef ModuleBase_IViewWindow_H
#define ModuleBase_IViewWindow_H
+#include "ModuleBase.h"
+
#include <V3d_View.hxx>
#include <V3d_View.hxx>
+class QWidget;
/**
* \ingroup GUI
* Interface to ViewWindow object which contains 3d scene
*/
/**
* \ingroup GUI
* Interface to ViewWindow object which contains 3d scene
*/
-class ModuleBase_IViewWindow
+class M
ODULEBASE_EXPORT M
oduleBase_IViewWindow
{
public:
{
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 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;
};
};