VR-Forces Development_Version 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
vrvCoreQt
DtRendererItems.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
9
10
#pragma once
11
#include <
vrvCoreQt/vrvCoreQt.h
>
12
#include <
vrvCoreQt/DtCheckedItem.h
>
13
#include <
vrvCore/DtSubjectObserver.h
>
14
15
namespace
makVrv
16
{
19
class
DT_DLL_VRVCOREQT
DtWireframeItem
:
public
DtCheckedItem
20
{
21
public
:
22
DtWireframeItem
(
DtDe
&);
23
24
virtual
~
DtWireframeItem
();
25
26
//Override create action to connect to DtDe signals.
27
QAction
* createAction(
DtDe
& de,
QWidget
* parent);
28
29
protected
:
30
31
//Set the value due to being triggered.
32
virtual
void
setValue(
bool
value);
33
34
//Get the current value.
35
virtual
bool
getValue()
const
;
36
37
};
38
41
class
DT_DLL_VRVCOREQT
DtShadowsItem
:
public
DtCheckedItem
42
{
43
public
:
44
DtShadowsItem
(
DtDe
&);
45
46
virtual
~
DtShadowsItem
();
47
48
//Override create action to connect to DtDe signals.
49
QAction
* createAction(
DtDe
& de,
QWidget
* parent);
50
51
protected
:
52
53
//Set the value due to being triggered.
54
virtual
void
setValue(
bool
value);
55
56
//Get the current value.
57
virtual
bool
getValue()
const
;
58
59
};
62
class
DT_DLL_VRVCOREQT
DtTerrainScalingItem
:
public
DtCheckedItem
,
63
public
DtDeObserver
64
{
65
public
:
66
DtTerrainScalingItem
(
DtDe
&);
67
68
virtual
~
DtTerrainScalingItem
();
69
70
//Override create action to connect to DtDe signals.
71
QAction
* createAction(
DtDe
& de,
QWidget
* parent);
72
73
protected
:
74
75
// For Display Engine subject observer
76
virtual
void
slot_activate(
DtDe
* subject );
77
virtual
void
slot_deactivate
(
DtDe
* ) {}
78
79
// Set if the item is enabled/disabled
80
virtual
void
updateEnabled();
81
82
virtual
void
slot_onCoordinateSystemChanged(
const
std::string& );
83
84
//Set the value due to being triggered.
85
virtual
void
setValue(
bool
value);
86
87
//Get the current value.
88
virtual
bool
getValue()
const
;
89
};
90
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)