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

Method GetName

Modules/DICOM/src/mitkDICOMTag.cpp:87–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87std::string
88mitk::DICOMTag
89::GetName() const
90{
91 gdcm::Tag t(m_Group, m_Element);
92
93 const gdcm::Global& g = gdcm::Global::GetInstance(); // sum of all knowledge !
94 const gdcm::Dicts& dicts = g.GetDicts();
95 const gdcm::Dict& pub = dicts.GetPublicDict(); // Part 6
96
97 const gdcm::DictEntry& entry = pub.GetDictEntry(t);
98 std::string name = entry.GetName();
99 if (name.empty())
100 {
101 name = "Unknown Tag";
102 }
103
104 return name;
105}
106
107std::string
108mitk::DICOMTag

Callers 15

PrintMethod · 0.95
dataMethod · 0.45
dataMethod · 0.45
AddTagOfInterestMethod · 0.45
GetSOPClassUIDAsNameMethod · 0.45
GetPairDescriptionMethod · 0.45
DoGenerateMethod · 0.45

Calls 1

emptyMethod · 0.45