VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCoreQt
DtRendererItems.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtRendererItems.h,v $ $Revision: 1.10 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCoreQt/vrvCoreQt.h
>
15
#include <
vrvCoreQt/DtCheckedItem.h
>
16
#include <
vrvCore/DtSubjectObserver.h
>
17
18
namespace
makVrv
19
{
22
class
DT_DLL_VRVCOREQT
DtWireframeItem
:
public
DtCheckedItem
23
{
24
public
:
25
DtWireframeItem
(
DtDe
&);
26
27
virtual
~
DtWireframeItem
();
28
29
//Override create action to connecto to DtDe signals.
30
QAction
* createAction(
DtDe
& de,
QWidget
* parent);
31
32
protected
:
33
34
//Set the value due to being triggered.
35
virtual
void
setValue(
bool
value);
36
37
//Get the current value.
38
virtual
bool
getValue()
const
;
39
40
};
41
44
class
DT_DLL_VRVCOREQT
DtShadowsItem
:
public
DtCheckedItem
45
{
46
public
:
47
DtShadowsItem
(
DtDe
&);
48
49
virtual
~
DtShadowsItem
();
50
51
//Override create action to connecto to DtDe signals.
52
QAction
* createAction(
DtDe
& de,
QWidget
* parent);
53
54
protected
:
55
56
//Set the value due to being triggered.
57
virtual
void
setValue(
bool
value);
58
59
//Get the current value.
60
virtual
bool
getValue()
const
;
61
62
};
65
class
DT_DLL_VRVCOREQT
DtTerrainScalingItem
:
public
DtCheckedItem
,
66
public
DtDeObserver
67
{
68
public
:
69
DtTerrainScalingItem
(
DtDe
&);
70
71
virtual
~
DtTerrainScalingItem
();
72
73
//Override create action to connecto to DtDe signals.
74
QAction
* createAction(
DtDe
& de,
QWidget
* parent);
75
76
protected
:
77
78
// For Display Engine subject observer
79
virtual
void
slot_activate(
DtDe
* subject );
80
virtual
void
slot_deactivate
(
DtDe
* ) {}
81
82
// Set if the item is enabled/disabled
83
virtual
void
updateEnabled();
84
85
virtual
void
slot_onCoordinateSystemChanged(
const
std::string& );
86
87
//Set the value due to being triggered.
88
virtual
void
setValue(
bool
value);
89
90
//Get the current value.
91
virtual
bool
getValue()
const
;
92
};
93
}
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
)