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

Function SetProperties

Modules/DICOM/src/mitkDICOMIOHelper.cpp:57–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 void SetProperties(BaseData* image, const FindingsListVectorType& findings)
58 {
59 for (const auto& finding : findings)
60 {
61 for (const auto& entry : finding)
62 {
63 auto property = TemporoSpatialStringProperty::New();
64 property->SetValue(entry.value);
65
66 image->SetProperty(DICOMTagPathToPropertyName(entry.path), property);
67 }
68 }
69 }
70}

Callers 5

DoReadMethod · 0.85
DoReadMethod · 0.85
DoReadMethod · 0.85
DoReadMethod · 0.85
ReadMethod · 0.85

Calls 4

NewFunction · 0.50
SetValueMethod · 0.45
SetPropertyMethod · 0.45

Tested by

no test coverage detected