MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / setForegroundImage

Method setForegroundImage

ASAP/IOThread.cpp:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void IOThread::setForegroundImage(std::weak_ptr<MultiResolutionImage> for_img, float scale) {
84 QMutexLocker locker(&_jobListMutex);
85 _for_img = for_img;
86 for (unsigned int i = 0; i < _workers.size(); ++i) {
87 _workers[i]->setForegroundImage(for_img, scale);
88 }
89}
90
91void IOThread::setBackgroundImage(std::weak_ptr<MultiResolutionImage> bck_img) {
92 QMutexLocker locker(&_jobListMutex);

Callers 1

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected