VR-Forces 4.3 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
DtObjectContextItems.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2011 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCoreQt/vrvCoreQt.h
>
13
#include <
vrvCoreQt/DtMenuItem.h
>
14
15
#include <
vrvCore/DtObserverObject.h
>
16
17
namespace
makVrv
18
{
19
23
class
DT_DLL_VRVCOREQT
DtTransparencyToggleItem
:
public
DtMenuItem
24
{ Q_OBJECT;
25
public
:
26
28
DtTransparencyToggleItem
(
DtDe
&);
29
31
virtual
~
DtTransparencyToggleItem
();
32
34
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent);
35
36
protected
:
37
38
virtual
void
on_triggered();
39
40
virtual
void
on_aboutToShow();
41
42
protected
:
43
44
DtDe
&
myDe
;
45
QAction
*
myQAction
;
46
47
};
48
53
class
DT_DLL_VRVCOREQT
DtAttachItem
:
public
DtMenuItem
54
{ Q_OBJECT;
55
public
:
56
58
DtAttachItem
(
const
std::string& menuItemIdName,
DtDe
& de );
59
61
virtual
~
DtAttachItem
();
62
64
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent) = 0;
65
66
protected
:
67
68
virtual
void
setAttachMode(
DtObserverObject::AttachType
attachType );
69
70
virtual
void
attachSelected();
71
72
protected
:
73
74
DtDe
&
myDe
;
75
QAction
*
myQAction
;
76
77
};
78
82
class
DT_DLL_VRVCOREQT
DtAttachFollowItem
:
public
DtAttachItem
83
{ Q_OBJECT;
84
public
:
85
87
DtAttachFollowItem
(
DtDe
& );
88
90
virtual
~
DtAttachFollowItem
();
91
93
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent );
94
95
protected
:
96
97
virtual
void
on_triggered();
98
99
virtual
void
on_aboutToShow();
100
101
};
102
106
class
DT_DLL_VRVCOREQT
DtAttachSpaceFollowItem
:
public
DtAttachItem
107
{ Q_OBJECT;
108
public
:
109
111
DtAttachSpaceFollowItem
(
DtDe
& );
112
114
virtual
~
DtAttachSpaceFollowItem
();
115
117
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent );
118
119
protected
:
120
121
virtual
void
on_triggered();
122
123
virtual
void
on_aboutToShow();
124
125
};
126
130
class
DT_DLL_VRVCOREQT
DtAttachMimicItem
:
public
DtAttachItem
131
{
132
Q_OBJECT;
133
public
:
135
DtAttachMimicItem
(
DtDe
&);
136
138
virtual
~
DtAttachMimicItem
();
139
141
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent);
142
143
protected
:
144
virtual
void
on_triggered();
145
146
virtual
void
on_aboutToShow();
147
};
148
149
153
class
DT_DLL_VRVCOREQT
DtAttachTetherItem
:
public
DtAttachItem
154
{
155
Q_OBJECT;
156
public
:
158
DtAttachTetherItem
(
DtDe
&);
159
161
virtual
~
DtAttachTetherItem
();
162
164
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent);
165
166
protected
:
167
virtual
void
on_triggered();
168
169
virtual
void
on_aboutToShow();
170
};
171
175
class
DT_DLL_VRVCOREQT
DtAttachTrackItem
:
public
DtAttachItem
176
{
177
Q_OBJECT;
178
public
:
180
DtAttachTrackItem
(
DtDe
&);
181
183
virtual
~
DtAttachTrackItem
();
184
186
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent);
187
188
protected
:
189
virtual
void
on_triggered();
190
191
virtual
void
on_aboutToShow();
192
};
193
197
class
DT_DLL_VRVCOREQT
DtAttachTetherTrackItem
:
public
DtAttachItem
198
{
199
Q_OBJECT;
200
public
:
202
DtAttachTetherTrackItem
(
DtDe
&);
203
205
virtual
~
DtAttachTetherTrackItem
();
206
208
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent);
209
210
protected
:
211
virtual
void
on_triggered();
212
213
virtual
void
on_aboutToShow();
214
};
215
219
class
DT_DLL_VRVCOREQT
DtAttachMimicTrackItem
:
public
DtAttachItem
220
{
221
Q_OBJECT;
222
public
:
224
DtAttachMimicTrackItem
(
DtDe
&);
225
227
virtual
~
DtAttachMimicTrackItem
();
228
230
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent);
231
232
protected
:
233
virtual
void
on_triggered();
234
235
virtual
void
on_aboutToShow();
236
};
237
241
class
DT_DLL_VRVCOREQT
DtCreateInsetViewItem
:
public
DtMenuItem
242
{
243
Q_OBJECT;
244
public
:
246
DtCreateInsetViewItem
(
DtDe
&);
247
249
virtual
~
DtCreateInsetViewItem
();
250
252
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent);
253
254
protected
:
255
virtual
void
on_triggered();
256
257
virtual
void
on_aboutToShow();
258
259
protected
:
260
DtDe
&
myDe
;
261
QAction
*
myQAction
;
262
};
263
267
class
DT_DLL_VRVCOREQT
DtShowHideItem
:
public
DtMenuItem
268
{
269
Q_OBJECT;
270
public
:
272
DtShowHideItem
(
DtDe
&);
273
275
virtual
~
DtShowHideItem
();
276
278
virtual
QAction
* createAction(
DtDe
&,
QWidget
* parent);
279
280
protected
:
281
virtual
void
on_triggered();
282
283
virtual
void
on_aboutToShow();
284
285
protected
:
286
DtDe
&
myDe
;
287
QAction
*
myQAction
;
288
};
289
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)