VR-Forces 4.1 Class Documentation
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 
63  protected:
64 
66  unsigned int myScreenWidth;
67  unsigned int myScreenHeight;
69  };
70 
74  {
75  public:
77  virtual DtWindow* create(DtDe&, DtWindowConfiguration&);
78  };
79 
83  {
84  public:
86  virtual DtWindow* create(DtDe&, DtWindowConfiguration&);
87  };
88 }
89 
90 #endif
91 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)