AMSingleReadOnlyControlBriefDetectorView::AMSingleReadOnlyControlBriefDetectorView(AMSingleReadOnlyControlDetector *detector, QWidget *parent) : AMBriefOldDetectorView(false, parent) { hl_ = 0; fbk_ = 0; detector_ = 0; configurationSettings_ = 0; setDetector(detector); }
SGMMCPDetailedDetectorView::SGMMCPDetailedDetectorView(SGMMCPDetector *detector, bool configureOnly, QWidget *parent) : AMDetailedOldDetectorView(configureOnly, parent) { gl_ = 0; readingCE_ = 0; hvCE_ = 0; detector_ = 0; configurationSettings_ = 0; setDetector(detector, configureOnly_); }
SGMMCPBriefDetectorView::SGMMCPBriefDetectorView(SGMMCPDetector *detector, bool configureOnly, QWidget *parent) : AMBriefOldDetectorView(configureOnly, parent) { hl_ = 0; readingCE_ = 0; powerState_ = 0; detector_ = 0; powerOnState_ = QIcon(":/power_green.png"); powerOffState_ = QIcon(":/power_red.png"); setDetector(detector, configureOnly_); }
void AMDetectorSetDarkCurrentValidStateAction::startImplementation() { if (!detector_) setDetector(0); if (detector_) { setStarted(); detector_->setDarkCurrentValidState( detectorSetDarkCurrentValidStateActionInfo()->darkCurrentState() ); setSucceeded(); } else { AMErrorMon::alert(this, AMDETECTORSETDARKCURRENTVALIDSTATEACTION_DETECTOR_NOT_FOUND, "Failed to set dark current valid state--detector not found."); setFailed(); } }
/* Feature Detector setter used for both of them flowbased featurbased * setting by Name **/ void AlignmentMatrixCalc::setDetectorSimple(QString detectorName) { setDetector(cv::FeatureDetector::create(detectorName.toStdString())); }
AMDetectorSetDarkCurrentValidStateAction::AMDetectorSetDarkCurrentValidStateAction(AMDetectorSetDarkCurrentValidStateActionInfo *info, AMDetector *detector, QObject *parent) : AMAction3(info, parent) { detector_ = 0; setDetector(detector); }
AMDetectorSetDarkCurrentValidStateAction::AMDetectorSetDarkCurrentValidStateAction(const AMDetectorSetDarkCurrentValidStateAction &other) : AMAction3(other) { detector_ = 0; setDetector(other.detector()); }
VESPERSMarCCDDetectorView::VESPERSMarCCDDetectorView(VESPERSMarCCDDetector *detector, bool configureOnly, QWidget *parent) : AMDetailedOldDetectorView(configureOnly, parent) { detector_ = 0; setDetector(detector, configureOnly); }