Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkDICOMGenericTagCache.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkDICOMGenericTagCache_h
14 #define mitkDICOMGenericTagCache_h
15 
16 #include <mitkDICOMTagCache.h>
18 
19 namespace mitk
20 {
21 
33  {
34  public:
35 
37  itkFactorylessNewMacro( DICOMGenericTagCache );
38  itkCloneMacro(Self);
39 
46  DICOMDatasetFinding GetTagValue(DICOMImageFrameInfo* frame, const DICOMTag& tag) const override;
47 
54  FindingsListType GetTagValue(DICOMImageFrameInfo* frame, const DICOMTagPath& path) const override;
55 
61 
67 
71  void Reset();
72 
73  protected:
74 
77 
79 
80  private:
82  };
83 }
84 
85 #endif
#define MITKDICOM_EXPORT
Defines an abstract base class for DICOM image frame infos with data access.
Generic tag cache implementation using DICOMGenericImageFrameInfo.
DICOMDatasetAccessingImageFrameList m_ScanResult
void Reset()
Clear all cached frame info objects.
mitkClassMacro(DICOMGenericTagCache, DICOMTagCache)
DICOMDatasetFinding GetTagValue(DICOMImageFrameInfo *frame, const DICOMTag &tag) const override
Retrieve a tag value for a specific frame and tag.
DICOMDatasetAccessingImageFrameList GetFrameInfoList() const override
Retrieve the list of frame info objects from the cache.
void AddFrameInfo(DICOMDatasetAccessingImageFrameInfo *info)
Add a frame info object to the cache.
FindingsListType GetTagValue(DICOMImageFrameInfo *frame, const DICOMTagPath &path) const override
Retrieve tag values for a specific frame and tag path.
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.
Definition: mitkDICOMTag.h:33
Find image slices visible on a given plane.
std::vector< DICOMDatasetAccessingImageFrameInfo::Pointer > DICOMDatasetAccessingImageFrameList
A list of smart pointers to DICOMDatasetAccessingImageFrameInfo instances.
Result structure for DICOMDatasetAccess::GetTagValueAsString.