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

Method SetTrackingID

Modules/Multilabel/src/mitkLabel.cpp:261–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void 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
272std::string mitk::Label::GetTrackingUID() const
273{

Callers 5

SetLabelPropertiesMethod · 0.80
BuildBaseSegFunction · 0.80

Calls 2

GetPropertyFunction · 0.50
SetValueMethod · 0.45

Tested by 2

BuildBaseSegFunction · 0.64