VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEmbeddedOsgWindow.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtEmbeddedOsgWindow_H_
11 #define DtEmbeddedOsgWindow_H_
12 
13 #include <vrvOsgQt/vrvOsgQt.h>
14 #include <vrvOsg/DtOsgWindow.h>
15 
16 namespace makVrv
17 {
18 
19  class DtOsgAdapterQtWidget;
20 
24  {
25 
26  public:
27 
31 
33  virtual ~DtEmbeddedOsgWindow();
34 
36  virtual void setPosition(int x,int y);
37 
39  virtual void resize(int width,int height);
40 
42  virtual int pixelRatio() const;
43 
45  virtual float pixelRatioF() const;
46 
48  virtual int physicalDpiX() const;
49 
51  virtual int physicalDpiY() const;
52 
54  DtOsgAdapterQtWidget* adapterWidget();
55 
56  protected:
57 
59 
60  };
61 
62 }
63 
64 #endif
65 
This is a helper class for users that want to embed an DtOsgView into a custom Qt application...
Definition: DtEmbeddedOsgWindow.h:23
DtOsgAdapterQtWidget * myAdapter
Definition: DtEmbeddedOsgWindow.h:58
DtOsgAdapterQtWidget provides the mechanism for embedding an OSG context into a Qt widget...
Definition: DtOsgAdapterQtWidget.h:52
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:26
#define DT_DLL_VRVOSGQT
Definition: vrvOsgQt.h:22
Contains DLL export macros.
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:72
Contains makVrv::DtOsgView class.
A basic OSG display window, used to get the osg context for a display window.
Definition: DtOsgWindow.h:36

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)