VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvOsg
DtOsgSensorViewOverlay.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrvOsg/vrvOsg.h
>
14
#include <
vrvOsg/DtOsgSensorViewOverlaySection.h
>
15
#include <
vrvCore/DtSensorViewOverlay.h
>
16
17
18
namespace
makVrv
19
{
20
class
DtDe;
21
class
DtOsgObserverObject;
22
class
DtOverlayRenderer;
23
32
class
DT_DLL_VRVOSG
DtOsgSensorViewOverlay
:
public
DtSensorViewOverlay
33
{
34
public
:
35
friend
class
DtOsgSensorViewOverlayCreator
;
36
38
virtual
~
DtOsgSensorViewOverlay
();
39
41
virtual
void
initialize(
const
std::string& windowName,
const
std::string& channelName);
42
44
virtual
void
update(
const
std::string& observerName,
45
const
DtSensorFieldOfViewData
& state);
46
47
protected
:
48
51
DtOsgSensorViewOverlay
(
DtDe
& de,
52
DtOsgSensorViewOverlaySectionCreators
& sectionCreators);
53
54
protected
:
55
56
std::string
myWindowName
;
57
std::string
myChannelName
;
58
59
int
myWindowWidth
;
60
int
myWindowHeight
;
61
63
std::list<DtOsgSensorViewOverlaySection*>
myOverlaySections
;
64
65
};
66
71
class
DT_DLL_VRVOSG
DtOsgSensorViewOverlayCreator
:
72
public
DtSensorViewOverlayCreator
73
{
74
public
:
75
79
static
void
registerInstance(
DtDe
& de,
80
DtOsgSensorViewOverlaySectionCreators
* sectionCreators = 0);
81
83
static
const
DtOsgSensorViewOverlaySectionCreators
& defaultOverlaySectionCreators();
84
87
virtual
const
DtOsgSensorViewOverlaySectionCreators
& overlaySectionCreators()
const
;
88
91
virtual
void
setOverlaySectionCreators(
const
DtOsgSensorViewOverlaySectionCreators
&);
92
94
virtual
DtSensorViewOverlay
* create(
DtDe
& de);
95
96
protected
:
97
100
DtOsgSensorViewOverlaySectionCreators
mySectionCreators
;
101
};
102
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)