VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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
#include <
vrvUtil/DtSignalConnectionManager.h
>
20
21
namespace
makVrv
22
{
23
class
DtWindowConfiguration;
24
class
DtOsgAdapterQtWidget;
25
28
class
DT_DLL_VRVOSGQT
DtOsgWindowQt
:
public
DtOsgWindow
29
{
30
public
:
31
34
DtOsgWindowQt
(
DtDe
& de,
DtWindowConfiguration
& wc,
bool
fullscreen =
false
);
35
37
virtual
~
DtOsgWindowQt
();
38
40
virtual
int
width()
const
;
41
43
virtual
int
height()
const
;
44
46
virtual
bool
isValid()
const
;
47
49
virtual
void
setPosition(
int
x,
int
y);
50
52
virtual
void
resize(
int
width,
int
height);
53
54
void
changeResolution(
int
width,
int
height );
55
57
virtual
void
toggleFullScreen();
58
60
virtual
bool
isFullScreen();
61
63
virtual
int
screenNumber()
const
;
64
66
DtOsgAdapterQtWidget
* adapterWidget();
67
68
protected
:
69
70
virtual
void
slot_windowResizeabilityChanged(
DtWindow
* window );
71
72
protected
:
73
74
DtOsgAdapterQtWidget
*
myAdapter
;
75
unsigned
int
myScreenWidth
;
76
unsigned
int
myScreenHeight
;
77
bool
myFullScreen
;
78
DtSignalConnectionManager
mySignals
;
79
};
80
83
class
DT_DLL_VRVOSGQT
DtOsgWindowQtCreator
:
public
DtWindowCreator
84
{
85
public
:
87
virtual
DtWindow
* create(
DtDe
&,
DtWindowConfiguration
&);
88
};
89
92
class
DT_DLL_VRVOSGQT
DtFullscreenOsgWindowQtCreator
:
public
DtWindowCreator
93
{
94
public
:
96
virtual
DtWindow
* create(
DtDe
&,
DtWindowConfiguration
&);
97
};
98
}
99
100
#endif
101
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)