00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "../include/DGVImageVTK.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'DGVImageVTK.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 62
00014 #error "This file was generated using the moc from 4.6.3. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018
00019 QT_BEGIN_MOC_NAMESPACE
00020 static const uint qt_meta_data_DGVImageVTK[] = {
00021
00022
00023 4,
00024 0,
00025 0, 0,
00026 26, 14,
00027 0, 0,
00028 0, 0,
00029 0, 0,
00030 0,
00031 7,
00032
00033
00034 13, 12, 12, 12, 0x05,
00035 55, 43, 12, 12, 0x05,
00036 95, 84, 12, 12, 0x05,
00037 136, 84, 12, 12, 0x05,
00038 160, 84, 12, 12, 0x05,
00039 187, 84, 12, 12, 0x05,
00040 235, 226, 12, 12, 0x05,
00041
00042
00043 264, 12, 12, 12, 0x0a,
00044 272, 12, 12, 12, 0x0a,
00045 292, 12, 12, 12, 0x0a,
00046 309, 12, 12, 12, 0x0a,
00047 325, 12, 12, 12, 0x0a,
00048 332, 12, 12, 12, 0x0a,
00049 339, 12, 12, 12, 0x0a,
00050 356, 12, 351, 12, 0x0a,
00051 368, 12, 351, 12, 0x0a,
00052 380, 12, 12, 12, 0x0a,
00053 390, 12, 12, 12, 0x0a,
00054 411, 403, 12, 12, 0x0a,
00055 431, 12, 12, 12, 0x0a,
00056 452, 12, 12, 12, 0x0a,
00057 468, 12, 12, 12, 0x0a,
00058 485, 12, 12, 12, 0x0a,
00059 502, 12, 12, 12, 0x0a,
00060 518, 12, 12, 12, 0x0a,
00061 534, 12, 12, 12, 0x0a,
00062
00063 0
00064 };
00065
00066 static const char qt_meta_stringdata_DGVImageVTK[] = {
00067 "DGVImageVTK\0\0resultAvailable(DGVImageVTK*)\0"
00068 "tableWidget\0tableAvailable(DGVTableVTK*)\0"
00069 "plotWidget\0surfacePlotAvailable(DGVSurfacePlotVTK*)\0"
00070 "plotAvailable(DGVPlot*)\0"
00071 "plotAvailable(DGVPlotVTK*)\0"
00072 "volumePlotAvailable(DGVVolumePlotVTK*)\0"
00073 "fileName\0recentFileAvailable(QString)\0"
00074 "table()\0mergedSurfacePlot()\0"
00075 "generateVolume()\0generateImage()\0"
00076 "scan()\0clip()\0histogram()\0bool\0"
00077 "saveImage()\0saveStack()\0refresh()\0"
00078 "renameData()\0row,col\0updateData(int,int)\0"
00079 "interpolateDisplay()\0meanGreyScale()\0"
00080 "incrementSlice()\0decrementSlice()\0"
00081 "viewToXYPlane()\0viewToZXPlane()\0"
00082 "viewToZYPlane()\0"
00083 };
00084
00085 const QMetaObject DGVImageVTK::staticMetaObject = {
00086 { &QVTKWidget::staticMetaObject, qt_meta_stringdata_DGVImageVTK,
00087 qt_meta_data_DGVImageVTK, 0 }
00088 };
00089
00090 #ifdef Q_NO_DATA_RELOCATION
00091 const QMetaObject &DGVImageVTK::getStaticMetaObject() { return staticMetaObject; }
00092 #endif //Q_NO_DATA_RELOCATION
00093
00094 const QMetaObject *DGVImageVTK::metaObject() const
00095 {
00096 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00097 }
00098
00099 void *DGVImageVTK::qt_metacast(const char *_clname)
00100 {
00101 if (!_clname) return 0;
00102 if (!strcmp(_clname, qt_meta_stringdata_DGVImageVTK))
00103 return static_cast<void*>(const_cast< DGVImageVTK*>(this));
00104 return QVTKWidget::qt_metacast(_clname);
00105 }
00106
00107 int DGVImageVTK::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00108 {
00109 _id = QVTKWidget::qt_metacall(_c, _id, _a);
00110 if (_id < 0)
00111 return _id;
00112 if (_c == QMetaObject::InvokeMetaMethod) {
00113 switch (_id) {
00114 case 0: resultAvailable((*reinterpret_cast< DGVImageVTK*(*)>(_a[1]))); break;
00115 case 1: tableAvailable((*reinterpret_cast< DGVTableVTK*(*)>(_a[1]))); break;
00116 case 2: surfacePlotAvailable((*reinterpret_cast< DGVSurfacePlotVTK*(*)>(_a[1]))); break;
00117 case 3: plotAvailable((*reinterpret_cast< DGVPlot*(*)>(_a[1]))); break;
00118 case 4: plotAvailable((*reinterpret_cast< DGVPlotVTK*(*)>(_a[1]))); break;
00119 case 5: volumePlotAvailable((*reinterpret_cast< DGVVolumePlotVTK*(*)>(_a[1]))); break;
00120 case 6: recentFileAvailable((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00121 case 7: table(); break;
00122 case 8: mergedSurfacePlot(); break;
00123 case 9: generateVolume(); break;
00124 case 10: generateImage(); break;
00125 case 11: scan(); break;
00126 case 12: clip(); break;
00127 case 13: histogram(); break;
00128 case 14: { bool _r = saveImage();
00129 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
00130 case 15: { bool _r = saveStack();
00131 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
00132 case 16: refresh(); break;
00133 case 17: renameData(); break;
00134 case 18: updateData((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
00135 case 19: interpolateDisplay(); break;
00136 case 20: meanGreyScale(); break;
00137 case 21: incrementSlice(); break;
00138 case 22: decrementSlice(); break;
00139 case 23: viewToXYPlane(); break;
00140 case 24: viewToZXPlane(); break;
00141 case 25: viewToZYPlane(); break;
00142 default: ;
00143 }
00144 _id -= 26;
00145 }
00146 return _id;
00147 }
00148
00149
00150 void DGVImageVTK::resultAvailable(DGVImageVTK * _t1)
00151 {
00152 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00153 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00154 }
00155
00156
00157 void DGVImageVTK::tableAvailable(DGVTableVTK * _t1)
00158 {
00159 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00160 QMetaObject::activate(this, &staticMetaObject, 1, _a);
00161 }
00162
00163
00164 void DGVImageVTK::surfacePlotAvailable(DGVSurfacePlotVTK * _t1)
00165 {
00166 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00167 QMetaObject::activate(this, &staticMetaObject, 2, _a);
00168 }
00169
00170
00171 void DGVImageVTK::plotAvailable(DGVPlot * _t1)
00172 {
00173 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00174 QMetaObject::activate(this, &staticMetaObject, 3, _a);
00175 }
00176
00177
00178 void DGVImageVTK::plotAvailable(DGVPlotVTK * _t1)
00179 {
00180 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00181 QMetaObject::activate(this, &staticMetaObject, 4, _a);
00182 }
00183
00184
00185 void DGVImageVTK::volumePlotAvailable(DGVVolumePlotVTK * _t1)
00186 {
00187 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00188 QMetaObject::activate(this, &staticMetaObject, 5, _a);
00189 }
00190
00191
00192 void DGVImageVTK::recentFileAvailable(const QString & _t1)
00193 {
00194 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00195 QMetaObject::activate(this, &staticMetaObject, 6, _a);
00196 }
00197 QT_END_MOC_NAMESPACE