Tag cache implementation used by the DICOMGDCMTagScanner.
More...
#include <mitkDICOMGDCMTagCache.h>
Tag cache implementation used by the DICOMGDCMTagScanner.
Definition at line 30 of file mitkDICOMGDCMTagCache.h.
◆ DICOMGDCMTagCache()
| mitk::DICOMGDCMTagCache::DICOMGDCMTagCache |
( |
| ) |
|
|
protected |
◆ ~DICOMGDCMTagCache()
| mitk::DICOMGDCMTagCache::~DICOMGDCMTagCache |
( |
| ) |
|
|
overrideprotected |
◆ Clone()
| Pointer mitk::DICOMGDCMTagCache::Clone |
( |
| ) |
const |
◆ GetFrameInfoList()
◆ GetScanner()
| const gdcm::Scanner& mitk::DICOMGDCMTagCache::GetScanner |
( |
| ) |
const |
Get a const reference to the underlying gdcm::Scanner.
- Returns
- Const reference to the GDCM scanner.
◆ GetTagValue() [1/2]
Retrieve a tag value for a specific frame and tag.
- Parameters
-
| [in] | frame | The image frame to query. |
| [in] | tag | The DICOM tag to retrieve. |
- Returns
- A DICOMDatasetFinding with the tag value if found.
- Exceptions
-
| std::invalid_argument | if the frame or tag was not part of the scan. |
Implements mitk::DICOMTagCache.
◆ GetTagValue() [2/2]
Retrieve tag values for a specific frame and tag path.
Only supports explicit single-element paths (direct tag lookups).
- Parameters
-
| [in] | frame | The image frame to query. |
| [in] | path | The DICOM tag path to retrieve. |
- Returns
- A list of findings matching the given path.
Implements mitk::DICOMTagCache.
◆ InitCache()
| void mitk::DICOMGDCMTagCache::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.
- Parameters
-
| [in] | scannedTags | The set of tags that were scanned. |
| [in] | scanner | Shared pointer to the gdcm::Scanner containing the results. |
| [in] | inputFiles | The list of input file paths that were scanned. |
◆ mitkClassMacro()
◆ New()
| static Pointer mitk::DICOMGDCMTagCache::New |
( |
| ) |
|
|
static |
◆ m_ScannedTags
| std::set<DICOMTag> mitk::DICOMGDCMTagCache::m_ScannedTags |
|
protected |
◆ m_Scanner
| std::shared_ptr<gdcm::Scanner> mitk::DICOMGDCMTagCache::m_Scanner |
|
protected |
◆ m_ScanResult
The documentation for this class was generated from the following file: