| 259 | } |
| 260 | |
| 261 | void mitk::Label::SetTrackingID(const std::string& trackingID) |
| 262 | { |
| 263 | mitk::StringProperty* property = dynamic_cast<mitk::StringProperty*>(GetProperty("tracking_id")); |
| 264 | if (property != nullptr) |
| 265 | // Update Property |
| 266 | property->SetValue(trackingID); |
| 267 | else |
| 268 | // Create new Property |
| 269 | SetStringProperty("tracking_id", trackingID.c_str()); |
| 270 | } |
| 271 | |
| 272 | std::string mitk::Label::GetTrackingUID() const |
| 273 | { |