VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSimpleDeWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsgQt/vrvOsgQt.h>
12 #include <vrvCore/DtWindow.h>
13 #include <QtWidgets/QWidget>
14 
15 namespace makVrv
16 {
17  class DtDe;
18  class DtPluginManager;
19  class DtOsgAdapterQtWidget;
20 
23  class DT_DLL_VRVOSGQT DtSimpleDeWidget : public QWidget
24  {
25  Q_OBJECT
26 
27  public:
28 
30  DtSimpleDeWidget(QWidget * parent = 0, Qt::WindowFlags f = 0 );
31 
33  virtual ~DtSimpleDeWidget();
34 
35  DtDe* de();
36 
37  DtOsgAdapterQtWidget* adapterWidget();
38 
39  void buildAdapterWidget();
40 
41  void buildTicker();
42 
43  protected:
44 
45  void createIg();
46 
47  void preIgInitialize();
48 
49  void overrideIgFunctionality();
50 
51  void igInitialize();
52 
53  void postIgInitialize();
54 
55  virtual void resizeEvent( QResizeEvent* event);
56 
57  protected:
58 
62 
63  };
64 
68  {
69 
70  public:
71 
73 
75  virtual DtWindow* create(DtDe& de, DtWindowConfiguration& wc);
76 
77  protected:
78 
80 
81  };
82 }
Abstract Base class.
Definition: DtWindow.h:25
DtOsgAdapterQtWidget * myAdapterWidget
Definition: DtSimpleDeWidget.h:61
A creator class for DtWindow instances.
Definition: DtWindow.h:130
A simple widge with an embedded de.
Definition: DtSimpleDeWidget.h:23
Loads plugins.
Definition: DtPluginManager.h:25
DtOsgAdapterQtWidget provides the mechanism for embedding an OSG context into a Qt widget...
Definition: DtOsgAdapterQtWidget.h:47
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:28
#define DT_DLL_VRVOSGQT
Definition: vrvOsgQt.h:22
Contains DLL export macros.
Contains makVrv::DtIgView class.
DtPluginManager * myPluginManager
Definition: DtSimpleDeWidget.h:60
Creator for makVrv::DtSimpleDeWidget.
Definition: DtSimpleDeWidget.h:67
DtDe * myDe
Definition: DtSimpleDeWidget.h:59
DtSimpleDeWidget * myWidget
Definition: DtSimpleDeWidget.h:79
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)