VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgWindowQt.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgWindowQt.h,v $ $Revision: 1.11 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtOsgWindowQt_H_
14 #define DtOsgWindowQt_H_
15 
16 #include <vrvOsgQt/vrvOsgQt.h>
17 #include <vrvOsg/DtOsgWindow.h>
18 
19 namespace makVrv
20 {
21  class DtWindowConfiguration;
22  class DtOsgAdapterQtWidget;
23 
27  {
28  public:
29 
32  DtOsgWindowQt(DtDe& de, DtWindowConfiguration& wc, bool fullscreen = false);
33 
35  virtual ~DtOsgWindowQt();
36 
38  virtual int width() const;
39 
41  virtual int height() const;
42 
44  virtual bool isValid() const;
45 
47  virtual void setPosition(int x,int y);
48 
50  virtual void resize(int width, int height);
51 
52  void changeResolution( int width, int height );
53 
55  virtual void toggleFullScreen();
56 
58  virtual bool isFullScreen();
59 
61  virtual int screenNumber() const;
62 
64  DtOsgAdapterQtWidget* adapterWidget();
65 
66  protected:
67 
69  unsigned int myScreenWidth;
70  unsigned int myScreenHeight;
72  };
73 
77  {
78  public:
80  virtual DtWindow* create(DtDe&, DtWindowConfiguration&);
81  };
82 
86  {
87  public:
89  virtual DtWindow* create(DtDe&, DtWindowConfiguration&);
90  };
91 }
92 
93 #endif
94 

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)