1 | /**************************************************************************** |
---|
2 | ** Meta object code from reading C++ file 'G4OpenGLQtViewer.hh' |
---|
3 | ** |
---|
4 | ** Created: Tue Jan 4 12:17:52 2011 |
---|
5 | ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.0) |
---|
6 | ** |
---|
7 | ** WARNING! All changes made in this file will be lost! |
---|
8 | *****************************************************************************/ |
---|
9 | |
---|
10 | #include "../include/G4OpenGLQtViewer.hh" |
---|
11 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
12 | #error "The header file 'G4OpenGLQtViewer.hh' doesn't include <QObject>." |
---|
13 | #elif Q_MOC_OUTPUT_REVISION != 62 |
---|
14 | #error "This file was generated using the moc from 4.7.0. It" |
---|
15 | #error "cannot be used with the include files from this version of Qt." |
---|
16 | #error "(The moc has changed too much.)" |
---|
17 | #endif |
---|
18 | |
---|
19 | QT_BEGIN_MOC_NAMESPACE |
---|
20 | static const uint qt_meta_data_G4OpenGLQtViewer[] = { |
---|
21 | |
---|
22 | // content: |
---|
23 | 5, // revision |
---|
24 | 0, // classname |
---|
25 | 0, 0, // classinfo |
---|
26 | 31, 14, // methods |
---|
27 | 0, 0, // properties |
---|
28 | 0, 0, // enums/sets |
---|
29 | 0, 0, // constructors |
---|
30 | 0, // flags |
---|
31 | 5, // signalCount |
---|
32 | |
---|
33 | // signals: signature, parameters, type, tag, flags |
---|
34 | 18, 17, 17, 17, 0x05, |
---|
35 | 35, 17, 17, 17, 0x05, |
---|
36 | 50, 17, 17, 17, 0x05, |
---|
37 | 61, 17, 17, 17, 0x05, |
---|
38 | 72, 17, 17, 17, 0x05, |
---|
39 | |
---|
40 | // slots: signature, parameters, type, tag, flags |
---|
41 | 83, 17, 17, 17, 0x0a, |
---|
42 | 101, 17, 17, 17, 0x08, |
---|
43 | 121, 17, 17, 17, 0x08, |
---|
44 | 139, 17, 17, 17, 0x08, |
---|
45 | 157, 17, 17, 17, 0x08, |
---|
46 | 182, 17, 17, 17, 0x08, |
---|
47 | 209, 17, 17, 17, 0x08, |
---|
48 | 239, 17, 17, 17, 0x08, |
---|
49 | 273, 17, 17, 17, 0x08, |
---|
50 | 291, 17, 17, 17, 0x08, |
---|
51 | 321, 17, 17, 17, 0x08, |
---|
52 | 345, 17, 17, 17, 0x08, |
---|
53 | 372, 17, 17, 17, 0x08, |
---|
54 | 396, 17, 17, 17, 0x08, |
---|
55 | 412, 17, 17, 17, 0x08, |
---|
56 | 437, 17, 17, 17, 0x08, |
---|
57 | 469, 17, 17, 17, 0x08, |
---|
58 | 496, 17, 17, 17, 0x08, |
---|
59 | 519, 17, 17, 17, 0x08, |
---|
60 | 544, 17, 17, 17, 0x08, |
---|
61 | 569, 17, 17, 17, 0x08, |
---|
62 | 589, 17, 17, 17, 0x08, |
---|
63 | 605, 17, 17, 17, 0x08, |
---|
64 | 628, 17, 17, 17, 0x08, |
---|
65 | 652, 17, 17, 17, 0x08, |
---|
66 | 677, 17, 17, 17, 0x08, |
---|
67 | |
---|
68 | 0 // eod |
---|
69 | }; |
---|
70 | |
---|
71 | static const char qt_meta_stringdata_G4OpenGLQtViewer[] = { |
---|
72 | "G4OpenGLQtViewer\0\0rotateTheta(int)\0" |
---|
73 | "rotatePhi(int)\0moveX(int)\0moveY(int)\0" |
---|
74 | "moveZ(int)\0startPauseVideo()\0" |
---|
75 | "actionMouseRotate()\0actionMouseMove()\0" |
---|
76 | "actionMousePick()\0actionDrawingWireframe()\0" |
---|
77 | "actionDrawingLineRemoval()\0" |
---|
78 | "actionDrawingSurfaceRemoval()\0" |
---|
79 | "actionDrawingLineSurfaceRemoval()\0" |
---|
80 | "actionSaveImage()\0actionChangeBackgroundColor()\0" |
---|
81 | "actionChangeTextColor()\0" |
---|
82 | "actionChangeDefaultColor()\0" |
---|
83 | "actionMovieParameters()\0showShortcuts()\0" |
---|
84 | "toggleDrawingAction(int)\0" |
---|
85 | "toggleMouseAction(mouseActions)\0" |
---|
86 | "toggleRepresentation(bool)\0" |
---|
87 | "toggleProjection(bool)\0toggleTransparency(bool)\0" |
---|
88 | "toggleAntialiasing(bool)\0toggleHaloing(bool)\0" |
---|
89 | "toggleAux(bool)\0toggleFullScreen(bool)\0" |
---|
90 | "processEncodeFinished()\0" |
---|
91 | "processLookForFinished()\0processEncodeStdout()\0" |
---|
92 | }; |
---|
93 | |
---|
94 | const QMetaObject G4OpenGLQtViewer::staticMetaObject = { |
---|
95 | { &QObject::staticMetaObject, qt_meta_stringdata_G4OpenGLQtViewer, |
---|
96 | qt_meta_data_G4OpenGLQtViewer, 0 } |
---|
97 | }; |
---|
98 | |
---|
99 | #ifdef Q_NO_DATA_RELOCATION |
---|
100 | const QMetaObject &G4OpenGLQtViewer::getStaticMetaObject() { return staticMetaObject; } |
---|
101 | #endif //Q_NO_DATA_RELOCATION |
---|
102 | |
---|
103 | const QMetaObject *G4OpenGLQtViewer::metaObject() const |
---|
104 | { |
---|
105 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; |
---|
106 | } |
---|
107 | |
---|
108 | void *G4OpenGLQtViewer::qt_metacast(const char *_clname) |
---|
109 | { |
---|
110 | if (!_clname) return 0; |
---|
111 | if (!strcmp(_clname, qt_meta_stringdata_G4OpenGLQtViewer)) |
---|
112 | return static_cast<void*>(const_cast< G4OpenGLQtViewer*>(this)); |
---|
113 | if (!strcmp(_clname, "G4OpenGLViewer")) |
---|
114 | return static_cast< G4OpenGLViewer*>(const_cast< G4OpenGLQtViewer*>(this)); |
---|
115 | return QObject::qt_metacast(_clname); |
---|
116 | } |
---|
117 | |
---|
118 | int G4OpenGLQtViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
119 | { |
---|
120 | _id = QObject::qt_metacall(_c, _id, _a); |
---|
121 | if (_id < 0) |
---|
122 | return _id; |
---|
123 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
124 | switch (_id) { |
---|
125 | case 0: rotateTheta((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
126 | case 1: rotatePhi((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
127 | case 2: moveX((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
128 | case 3: moveY((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
129 | case 4: moveZ((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
130 | case 5: startPauseVideo(); break; |
---|
131 | case 6: actionMouseRotate(); break; |
---|
132 | case 7: actionMouseMove(); break; |
---|
133 | case 8: actionMousePick(); break; |
---|
134 | case 9: actionDrawingWireframe(); break; |
---|
135 | case 10: actionDrawingLineRemoval(); break; |
---|
136 | case 11: actionDrawingSurfaceRemoval(); break; |
---|
137 | case 12: actionDrawingLineSurfaceRemoval(); break; |
---|
138 | case 13: actionSaveImage(); break; |
---|
139 | case 14: actionChangeBackgroundColor(); break; |
---|
140 | case 15: actionChangeTextColor(); break; |
---|
141 | case 16: actionChangeDefaultColor(); break; |
---|
142 | case 17: actionMovieParameters(); break; |
---|
143 | case 18: showShortcuts(); break; |
---|
144 | case 19: toggleDrawingAction((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
145 | case 20: toggleMouseAction((*reinterpret_cast< mouseActions(*)>(_a[1]))); break; |
---|
146 | case 21: toggleRepresentation((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
147 | case 22: toggleProjection((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
148 | case 23: toggleTransparency((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
149 | case 24: toggleAntialiasing((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
150 | case 25: toggleHaloing((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
151 | case 26: toggleAux((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
152 | case 27: toggleFullScreen((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
153 | case 28: processEncodeFinished(); break; |
---|
154 | case 29: processLookForFinished(); break; |
---|
155 | case 30: processEncodeStdout(); break; |
---|
156 | default: ; |
---|
157 | } |
---|
158 | _id -= 31; |
---|
159 | } |
---|
160 | return _id; |
---|
161 | } |
---|
162 | |
---|
163 | // SIGNAL 0 |
---|
164 | void G4OpenGLQtViewer::rotateTheta(int _t1) |
---|
165 | { |
---|
166 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
167 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
---|
168 | } |
---|
169 | |
---|
170 | // SIGNAL 1 |
---|
171 | void G4OpenGLQtViewer::rotatePhi(int _t1) |
---|
172 | { |
---|
173 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
174 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
---|
175 | } |
---|
176 | |
---|
177 | // SIGNAL 2 |
---|
178 | void G4OpenGLQtViewer::moveX(int _t1) |
---|
179 | { |
---|
180 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
181 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
---|
182 | } |
---|
183 | |
---|
184 | // SIGNAL 3 |
---|
185 | void G4OpenGLQtViewer::moveY(int _t1) |
---|
186 | { |
---|
187 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
188 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
---|
189 | } |
---|
190 | |
---|
191 | // SIGNAL 4 |
---|
192 | void G4OpenGLQtViewer::moveZ(int _t1) |
---|
193 | { |
---|
194 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
195 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
---|
196 | } |
---|
197 | QT_END_MOC_NAMESPACE |
---|