int caCamera::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QWidget::qt_metacall(_c, _id, _a); if (_id < 0) return _id; #ifndef QT_NO_PROPERTIES if (_c == QMetaObject::ReadProperty) { void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< QString*>(_v) = getPV_Data(); break; case 1: *reinterpret_cast< QString*>(_v) = getPV_Width(); break; case 2: *reinterpret_cast< QString*>(_v) = getPV_Height(); break; case 3: *reinterpret_cast< QString*>(_v) = getPV_Code(); break; case 4: *reinterpret_cast< QString*>(_v) = getPV_BPP(); break; case 5: *reinterpret_cast< zoom*>(_v) = getZoom(); break; case 6: *reinterpret_cast< colormap*>(_v) = getColormap(); break; case 7: *reinterpret_cast< bool*>(_v) = getInitialAutomatic(); break; case 8: *reinterpret_cast< QString*>(_v) = getMinLevel(); break; case 9: *reinterpret_cast< QString*>(_v) = getMaxLevel(); break; case 10: *reinterpret_cast< QString*>(_v) = getDataProcChannels(); break; } _id -= 11; } else if (_c == QMetaObject::WriteProperty) { void *_v = _a[0]; switch (_id) { case 0: setPV_Data(*reinterpret_cast< QString*>(_v)); break; case 1: setPV_Width(*reinterpret_cast< QString*>(_v)); break; case 2: setPV_Height(*reinterpret_cast< QString*>(_v)); break; case 3: setPV_Code(*reinterpret_cast< QString*>(_v)); break; case 4: setPV_BPP(*reinterpret_cast< QString*>(_v)); break; case 5: setZoom(*reinterpret_cast< zoom*>(_v)); break; case 6: setColormap(*reinterpret_cast< colormap*>(_v)); break; case 7: setInitialAutomatic(*reinterpret_cast< bool*>(_v)); break; case 8: setMinLevel(*reinterpret_cast< QString*>(_v)); break; case 9: setMaxLevel(*reinterpret_cast< QString*>(_v)); break; case 10: setDataProcChannels(*reinterpret_cast< QString*>(_v)); break; } _id -= 11; } else if (_c == QMetaObject::ResetProperty) { _id -= 11; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 11; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 11; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 11; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 11; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 11; } #endif // QT_NO_PROPERTIES return _id; }
PyrLkOptFlowEstimatorBase() { setWinSize(Size(21, 21)); setMaxLevel(3); }