Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkDICOMTagCache.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 mitkDICOMTagCache_h
14 #define mitkDICOMTagCache_h
15 
16 #include "itkObjectFactory.h"
17 #include "mitkCommon.h"
18 
19 #include "mitkDICOMTag.h"
20 #include "mitkDICOMDatasetAccess.h"
21 #include "mitkDICOMEnums.h"
22 
24 #include "MitkDICOMExports.h"
25 
26 namespace mitk
27 {
28 
33  class MITKDICOM_EXPORT DICOMTagCache : public itk::Object
34  {
35  public:
36  mitkClassMacroItkParent( DICOMTagCache, itk::Object );
37 
38  typedef std::list<DICOMDatasetFinding> FindingsListType;
39 
43  virtual void SetInputFiles(const StringList& filenames);
44 
45  virtual DICOMDatasetFinding GetTagValue(DICOMImageFrameInfo* frame, const DICOMTag& tag) const = 0;
46 
47  virtual FindingsListType GetTagValue(DICOMImageFrameInfo* frame, const DICOMTagPath& path) const = 0;
48 
52  virtual DICOMDatasetAccessingImageFrameList GetFrameInfoList() const = 0;
53 
54  protected:
55 
57  DICOMTagCache();
59  ~DICOMTagCache() override;
60  };
61 }
62 
63 #endif
MitkDICOMExports.h
mitkDICOMDatasetAccessingImageFrameInfo.h
mitk::DICOMTag
Representation of a DICOM tag.
Definition: mitkDICOMTag.h:32
mitkDICOMEnums.h
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk::DICOMDatasetFinding
Definition: mitkDICOMDatasetAccess.h:26
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::DICOMImageFrameInfo
Describes a frame within a DICOM file.
Definition: mitkDICOMImageFrameInfo.h:31
mitk::DICOMTagCache::m_InputFilenames
StringList m_InputFilenames
Definition: mitkDICOMTagCache.h:56
mitkCommon.h
mitk::DICOMTagCache
...
Definition: mitkDICOMTagCache.h:33
mitkDICOMTag.h
mitk::DICOMDatasetAccessingImageFrameList
std::vector< DICOMDatasetAccessingImageFrameInfo::Pointer > DICOMDatasetAccessingImageFrameList
Definition: mitkDICOMDatasetAccessingImageFrameInfo.h:46
mitkDICOMDatasetAccess.h
MITKDICOM_EXPORT
#define MITKDICOM_EXPORT
Definition: MitkDICOMExports.h:15
mitk::DICOMTagCache::FindingsListType
std::list< DICOMDatasetFinding > FindingsListType
Definition: mitkDICOMTagCache.h:38
mitk::StringList
std::vector< std::string > StringList
Definition: mitkDICOMEnums.h:22
mitk::DICOMTagPath
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag,...
Definition: mitkDICOMTagPath.h:34