MCPcopy Create free account
hub / github.com/MITK/MITK / SetTrackingUID

Method SetTrackingUID

Modules/Multilabel/src/mitkLabel.cpp:285–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285void 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
296std::string mitk::Label::GetDescription() const
297{

Callers 5

SetLabelPropertiesMethod · 0.80
BuildBaseSegFunction · 0.80

Calls 2

GetPropertyFunction · 0.50
SetValueMethod · 0.45

Tested by 2

BuildBaseSegFunction · 0.64