| 283 | } |
| 284 | |
| 285 | void mitk::Label::SetTrackingUID(const std::string& trackingUID) |
| 286 | { |
| 287 | mitk::StringProperty* property = dynamic_cast<mitk::StringProperty*>(GetProperty("tracking_uid")); |
| 288 | if (property != nullptr) |
| 289 | // Update Property |
| 290 | property->SetValue(trackingUID); |
| 291 | else |
| 292 | // Create new Property |
| 293 | SetStringProperty("tracking_uid", trackingUID.c_str()); |
| 294 | } |
| 295 | |
| 296 | std::string mitk::Label::GetDescription() const |
| 297 | { |