| 51 | } |
| 52 | |
| 53 | void |
| 54 | QmitkImageAndRoiDataGeneratorBase::SetROINodes(const ConstNodeVectorType& roiNodes) |
| 55 | { |
| 56 | if (m_ROINodes != roiNodes) |
| 57 | { |
| 58 | { |
| 59 | std::lock_guard<std::mutex> mutexguard(m_DataMutex); |
| 60 | m_ROINodes = roiNodes; |
| 61 | } |
| 62 | |
| 63 | if (m_AutoUpdate) |
| 64 | { |
| 65 | this->EnsureRecheckingAndGeneration(); |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | void |
| 71 | QmitkImageAndRoiDataGeneratorBase::SetROINodes(const NodeVectorType& roiNodes) |