| 207 | } |
| 208 | |
| 209 | std::string QmitkDataGeneratorBase::GetPairDescription(const InputPairVectorType::value_type& imageAndSeg) const |
| 210 | { |
| 211 | if (imageAndSeg.second.IsNotNull()) |
| 212 | { |
| 213 | return imageAndSeg.first->GetName() + " and ROI " + imageAndSeg.second->GetName(); |
| 214 | } |
| 215 | else |
| 216 | { |
| 217 | return imageAndSeg.first->GetName(); |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | bool QmitkDataGeneratorBase::DoGenerate() const |
| 222 | { |