MeVisLab Resolution Independence API
SoMeVisExaminerViewer.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2009, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef SO_MEVIS_EXAMINER_VIEWER_H
14 #define SO_MEVIS_EXAMINER_VIEWER_H
15 
17 
18 #include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
19 
20 #include <mlMetaProfilePtr.h>
21 
22 //=============================================================
24 
29 class INVENTORGUIWRAPPER_API SoMeVisExaminerViewer : public SoQtExaminerViewer
30 {
31 public:
32  SoMeVisExaminerViewer(QWidget* parent = nullptr,
33  const char *name = nullptr,
34  SbBool builtInsideParent = TRUE,
35  SoQtFullViewer::BuildFlag flag = BUILD_ALL,
36  SoQtViewer::Type type = BROWSER):SoQtExaminerViewer(parent, name, builtInsideParent, flag, type) {};
37 protected:
38  SoMeVisExaminerViewer(QWidget* parent,
39  const char *name,
40  SbBool builtInsideParent,
41  SoQtFullViewer::BuildFlag flag,
42  SoQtViewer::Type type, SbBool build):SoQtExaminerViewer(parent, name, builtInsideParent, flag, type, build) {};
43 
44 protected:
47 
50  void actualRedraw() override;
51 
52 private:
53  MLMetaProfilePtr _metaProfilePtr;
54 };
55 
56 #endif
#define INVENTORGUIWRAPPER_API
Library initialization interface of the inventor GUI wrapper.
SoMeVisExaminerViewer is a base class to be used to create own examiner viewers.
SoMeVisExaminerViewer(QWidget *parent=nullptr, const char *name=nullptr, SbBool builtInsideParent=TRUE, SoQtFullViewer::BuildFlag flag=BUILD_ALL, SoQtViewer::Type type=BROWSER)
void actualRedraw() override
virtual method where the actual GL drawing takes place, you may derive this method,...
SoMeVisExaminerViewer(QWidget *parent, const char *name, SbBool builtInsideParent, SoQtFullViewer::BuildFlag flag, SoQtViewer::Type type, SbBool build)