VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsgQt
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
26
class
DT_DLL_VRVOSGQT
DtOsgWindowQt
:
public
DtOsgWindow
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
65
DtOsgAdapterQtWidget
*
myAdapter
;
66
unsigned
int
myScreenWidth
;
67
unsigned
int
myScreenHeight
;
68
bool
myFullScreen
;
69
};
70
73
class
DT_DLL_VRVOSGQT
DtOsgWindowQtCreator
:
public
DtWindowCreator
74
{
75
public
:
77
virtual
DtWindow
* create(
DtDe
&,
DtWindowConfiguration
&);
78
};
79
82
class
DT_DLL_VRVOSGQT
DtFullscreenOsgWindowQtCreator
:
public
DtWindowCreator
83
{
84
public
:
86
virtual
DtWindow
* create(
DtDe
&,
DtWindowConfiguration
&);
87
};
88
}
89
90
#endif
91
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)