00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "RealGUI.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'RealGUI.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.4.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_sofa__gui__qt__RealGUI[] = {
00021
00022
00023 1,
00024 0,
00025 0, 0,
00026 49, 10,
00027 0, 0,
00028 0, 0,
00029
00030
00031 24, 23, 23, 23, 0x05,
00032 33, 23, 23, 23, 0x05,
00033 44, 23, 23, 23, 0x05,
00034 54, 23, 23, 23, 0x05,
00035
00036
00037 64, 61, 23, 23, 0x0a,
00038 99, 88, 23, 23, 0x0a,
00039 138, 133, 23, 23, 0x0a,
00040 199, 182, 23, 23, 0x0a,
00041 260, 254, 23, 23, 0x0a,
00042 279, 23, 23, 23, 0x0a,
00043 286, 23, 23, 23, 0x0a,
00044 296, 23, 23, 23, 0x0a,
00045 310, 23, 23, 23, 0x0a,
00046 325, 23, 23, 23, 0x0a,
00047 338, 23, 23, 23, 0x0a,
00048 364, 351, 23, 23, 0x0a,
00049 391, 23, 23, 23, 0x0a,
00050 405, 23, 23, 23, 0x0a,
00051 433, 23, 23, 23, 0x0a,
00052 449, 23, 23, 23, 0x0a,
00053 469, 23, 23, 23, 0x0a,
00054 488, 23, 23, 23, 0x0a,
00055 507, 23, 23, 23, 0x0a,
00056 522, 23, 23, 23, 0x0a,
00057 544, 23, 23, 23, 0x0a,
00058 572, 23, 23, 23, 0x0a,
00059 594, 23, 23, 23, 0x0a,
00060 607, 23, 23, 23, 0x0a,
00061 625, 23, 23, 23, 0x0a,
00062 642, 23, 23, 23, 0x0a,
00063 662, 23, 23, 23, 0x0a,
00064 676, 23, 23, 23, 0x0a,
00065 692, 23, 23, 23, 0x0a,
00066 706, 23, 23, 23, 0x0a,
00067 729, 23, 23, 23, 0x0a,
00068 778, 749, 23, 23, 0x0a,
00069 874, 851, 23, 23, 0x2a,
00070 940, 23, 23, 23, 0x0a,
00071 952, 949, 23, 23, 0x0a,
00072 1001, 972, 23, 23, 0x0a,
00073 1096, 1073, 23, 23, 0x2a,
00074 1161, 23, 23, 23, 0x0a,
00075 1175, 23, 23, 23, 0x0a,
00076 1229, 1219, 23, 23, 0x0a,
00077 1245, 23, 23, 23, 0x2a,
00078 1257, 23, 23, 23, 0x0a,
00079 1273, 23, 23, 23, 0x0a,
00080 1302, 23, 23, 23, 0x0a,
00081 1325, 23, 23, 23, 0x0a,
00082
00083 0
00084 };
00085
00086 static const char qt_meta_stringdata_sofa__gui__qt__RealGUI[] = {
00087 "sofa::gui::qt::RealGUI\0\0reload()\0"
00088 "newScene()\0newStep()\0quit()\0id\0"
00089 "fileRecentlyOpened(int)\0fileLoaded\0"
00090 "updateRecentlyOpened(std::string)\0"
00091 "item\0DoubleClickeItemInSceneView(QListViewItem*)\0"
00092 "item,point,index\0"
00093 "RightClickedItemInSceneView(QListViewItem*,QPoint,int)\0"
00094 "value\0playpauseGUI(bool)\0step()\0"
00095 "animate()\0setDt(double)\0setDt(QString)\0"
00096 "resetScene()\0screenshot()\0FILTER,value\0"
00097 "showhideElements(int,bool)\0clearRecord()\0"
00098 "slot_recordSimulation(bool)\0slot_backward()\0"
00099 "slot_stepbackward()\0slot_playforward()\0"
00100 "slot_stepforward()\0slot_forward()\0"
00101 "slot_sliderValue(int)\0slot_loadrecord_timevalue()\0"
00102 "changeInstrument(int)\0clearGraph()\0"
00103 "graphSaveObject()\0graphAddObject()\0"
00104 "graphRemoveObject()\0graphModify()\0"
00105 "graphCollapse()\0graphExpand()\0"
00106 "graphDesactivateNode()\0graphActivateNode()\0"
00107 "path,dx,dy,dz,rx,ry,rz,scale\0"
00108 "loadObject(std::string,double,double,double,double,double,double,doubl"
00109 "e)\0"
00110 "path,dx,dy,dz,rx,ry,rz\0"
00111 "loadObject(std::string,double,double,double,double,double,double)\0"
00112 "redraw()\0Id\0modifyUnlock(void*)\0"
00113 "node,dx,dy,dz,rx,ry,rz,scale\0"
00114 "transformObject(Node*,double,double,double,double,double,double,double"
00115 ")\0"
00116 "node,dx,dy,dz,rx,ry,rz\0"
00117 "transformObject(Node*,double,double,double,double,double,double)\0"
00118 "exportGraph()\0exportGraph(sofa::simulation::tree::GNode*)\0"
00119 "exportMTL\0exportOBJ(bool)\0exportOBJ()\0"
00120 "dumpState(bool)\0displayComputationTime(bool)\0"
00121 "setExportGnuplot(bool)\0"
00122 "currentTabChanged(QWidget*)\0"
00123 };
00124
00125 const QMetaObject sofa::gui::qt::RealGUI::staticMetaObject = {
00126 { &::GUI::staticMetaObject, qt_meta_stringdata_sofa__gui__qt__RealGUI,
00127 qt_meta_data_sofa__gui__qt__RealGUI, 0 }
00128 };
00129
00130 const QMetaObject *sofa::gui::qt::RealGUI::metaObject() const
00131 {
00132 return &staticMetaObject;
00133 }
00134
00135 void *sofa::gui::qt::RealGUI::qt_metacast(const char *_clname)
00136 {
00137 if (!_clname) return 0;
00138 if (!strcmp(_clname, qt_meta_stringdata_sofa__gui__qt__RealGUI))
00139 return static_cast<void*>(const_cast< RealGUI*>(this));
00140 if (!strcmp(_clname, "SofaGUI"))
00141 return static_cast< SofaGUI*>(const_cast< RealGUI*>(this));
00142 typedef ::GUI QMocSuperClass;
00143 return QMocSuperClass::qt_metacast(_clname);
00144 }
00145
00146 int sofa::gui::qt::RealGUI::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00147 {
00148 typedef ::GUI QMocSuperClass;
00149 _id = QMocSuperClass::qt_metacall(_c, _id, _a);
00150 if (_id < 0)
00151 return _id;
00152 if (_c == QMetaObject::InvokeMetaMethod) {
00153 switch (_id) {
00154 case 0: reload(); break;
00155 case 1: newScene(); break;
00156 case 2: newStep(); break;
00157 case 3: quit(); break;
00158 case 4: fileRecentlyOpened((*reinterpret_cast< int(*)>(_a[1]))); break;
00159 case 5: updateRecentlyOpened((*reinterpret_cast< std::string(*)>(_a[1]))); break;
00160 case 6: DoubleClickeItemInSceneView((*reinterpret_cast< QListViewItem*(*)>(_a[1]))); break;
00161 case 7: RightClickedItemInSceneView((*reinterpret_cast< QListViewItem*(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
00162 case 8: playpauseGUI((*reinterpret_cast< bool(*)>(_a[1]))); break;
00163 case 9: step(); break;
00164 case 10: animate(); break;
00165 case 11: setDt((*reinterpret_cast< double(*)>(_a[1]))); break;
00166 case 12: setDt((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00167 case 13: resetScene(); break;
00168 case 14: screenshot(); break;
00169 case 15: showhideElements((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
00170 case 16: clearRecord(); break;
00171 case 17: slot_recordSimulation((*reinterpret_cast< bool(*)>(_a[1]))); break;
00172 case 18: slot_backward(); break;
00173 case 19: slot_stepbackward(); break;
00174 case 20: slot_playforward(); break;
00175 case 21: slot_stepforward(); break;
00176 case 22: slot_forward(); break;
00177 case 23: slot_sliderValue((*reinterpret_cast< int(*)>(_a[1]))); break;
00178 case 24: slot_loadrecord_timevalue(); break;
00179 case 25: changeInstrument((*reinterpret_cast< int(*)>(_a[1]))); break;
00180 case 26: clearGraph(); break;
00181 case 27: graphSaveObject(); break;
00182 case 28: graphAddObject(); break;
00183 case 29: graphRemoveObject(); break;
00184 case 30: graphModify(); break;
00185 case 31: graphCollapse(); break;
00186 case 32: graphExpand(); break;
00187 case 33: graphDesactivateNode(); break;
00188 case 34: graphActivateNode(); break;
00189 case 35: loadObject((*reinterpret_cast< std::string(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< double(*)>(_a[4])),(*reinterpret_cast< double(*)>(_a[5])),(*reinterpret_cast< double(*)>(_a[6])),(*reinterpret_cast< double(*)>(_a[7])),(*reinterpret_cast< double(*)>(_a[8]))); break;
00190 case 36: loadObject((*reinterpret_cast< std::string(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< double(*)>(_a[4])),(*reinterpret_cast< double(*)>(_a[5])),(*reinterpret_cast< double(*)>(_a[6])),(*reinterpret_cast< double(*)>(_a[7]))); break;
00191 case 37: redraw(); break;
00192 case 38: modifyUnlock((*reinterpret_cast< void*(*)>(_a[1]))); break;
00193 case 39: transformObject((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< double(*)>(_a[4])),(*reinterpret_cast< double(*)>(_a[5])),(*reinterpret_cast< double(*)>(_a[6])),(*reinterpret_cast< double(*)>(_a[7])),(*reinterpret_cast< double(*)>(_a[8]))); break;
00194 case 40: transformObject((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< double(*)>(_a[4])),(*reinterpret_cast< double(*)>(_a[5])),(*reinterpret_cast< double(*)>(_a[6])),(*reinterpret_cast< double(*)>(_a[7]))); break;
00195 case 41: exportGraph(); break;
00196 case 42: exportGraph((*reinterpret_cast< sofa::simulation::tree::GNode*(*)>(_a[1]))); break;
00197 case 43: exportOBJ((*reinterpret_cast< bool(*)>(_a[1]))); break;
00198 case 44: exportOBJ(); break;
00199 case 45: dumpState((*reinterpret_cast< bool(*)>(_a[1]))); break;
00200 case 46: displayComputationTime((*reinterpret_cast< bool(*)>(_a[1]))); break;
00201 case 47: setExportGnuplot((*reinterpret_cast< bool(*)>(_a[1]))); break;
00202 case 48: currentTabChanged((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
00203 }
00204 _id -= 49;
00205 }
00206 return _id;
00207 }
00208
00209
00210 void sofa::gui::qt::RealGUI::reload()
00211 {
00212 QMetaObject::activate(this, &staticMetaObject, 0, 0);
00213 }
00214
00215
00216 void sofa::gui::qt::RealGUI::newScene()
00217 {
00218 QMetaObject::activate(this, &staticMetaObject, 1, 0);
00219 }
00220
00221
00222 void sofa::gui::qt::RealGUI::newStep()
00223 {
00224 QMetaObject::activate(this, &staticMetaObject, 2, 0);
00225 }
00226
00227
00228 void sofa::gui::qt::RealGUI::quit()
00229 {
00230 QMetaObject::activate(this, &staticMetaObject, 3, 0);
00231 }
00232 QT_END_MOC_NAMESPACE