13 #ifndef mitkDICOMGDCMTagCache_h
14 #define mitkDICOMGDCMTagCache_h
21 #include <gdcmScanner.h>
70 void InitCache(
const std::set<DICOMTag>& scannedTags,
const std::shared_ptr<gdcm::Scanner>& scanner,
const StringList& inputFiles);
Tag cache implementation used by the DICOMGDCMTagScanner.
std::shared_ptr< gdcm::Scanner > m_Scanner
~DICOMGDCMTagCache() override
void InitCache(const std::set< DICOMTag > &scannedTags, const std::shared_ptr< gdcm::Scanner > &scanner, const StringList &inputFiles)
Initialize the cache with scan results from a gdcm::Scanner.
FindingsListType GetTagValue(DICOMImageFrameInfo *frame, const DICOMTagPath &path) const override
Retrieve tag values for a specific frame and tag path.
DICOMDatasetFinding GetTagValue(DICOMImageFrameInfo *frame, const DICOMTag &tag) const override
Retrieve a tag value for a specific frame and tag.
mitkClassMacro(DICOMGDCMTagCache, DICOMTagCache)
const gdcm::Scanner & GetScanner() const
Get a const reference to the underlying gdcm::Scanner.
DICOMDatasetAccessingImageFrameList GetFrameInfoList() const override
Retrieve the list of frame info objects from the scan result.
std::set< DICOMTag > m_ScannedTags
DICOMDatasetAccessingImageFrameList m_ScanResult
Describes a frame within a DICOM file.
Abstract base class for caching DICOM tag values scanned from files.
std::list< DICOMDatasetFinding > FindingsListType
A list of DICOMDatasetFinding instances.
Class used to identify (nested) attributes in a DICOM dataset.
Representation of a DICOM tag.
Find image slices visible on a given plane.
std::vector< std::string > StringList
A list of strings, used throughout the DICOM module to hold file paths and similar data.
std::vector< DICOMDatasetAccessingImageFrameInfo::Pointer > DICOMDatasetAccessingImageFrameList
A list of smart pointers to DICOMDatasetAccessingImageFrameInfo instances.
Result structure for DICOMDatasetAccess::GetTagValueAsString.