29 return std::make_pair(tag, propName);
34 return std::make_pair(tagPath,
"");
43 if (toiRegisters.empty())
46 MITK_ERROR <<
"DICOM tag error: no service for DICOM tags of interest";
49 else if (toiRegisters.size() > 1)
51 MITK_WARN <<
"DICOM tag error: multiple service for DICOM tags of interest found. Using just one.";
57 MITK_ERROR <<
"Service lookup error, cannot get DICOM tag of interest service ";
DICOMTagPath & AddAnySelection(unsigned int group, unsigned int element)
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag...
DICOMTagPathMapType MITKDICOMREADER_EXPORT GetCurrentDICOMTagsOfInterest()
Representation of a DICOM tag.
void * GetService(const ServiceReferenceBase &reference)
DICOMTagPathMapType MITKDICOMREADER_EXPORT GetDefaultDICOMTagsOfInterest()
std::vector< ServiceReferenceU > GetServiceReferences(const std::string &clazz, const std::string &filter=std::string())
static ModuleContext * GetModuleContext()
Returns the module context of the calling module.
std::map< DICOMTagPath, std::string > DICOMTagPathMapType