Medical Imaging Interaction Toolkit  2018.4.99-9a29ffc6
Medical Imaging Interaction Toolkit
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 "MitkDICOMReaderExports.h"
25 
26 namespace mitk
27 {
28 
33  class MITKDICOMREADER_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
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag...
Representation of a DICOM tag.
Definition: mitkDICOMTag.h:32
#define MITKDICOMREADER_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Describes a frame within a DICOM file.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
std::vector< std::string > StringList
std::vector< DICOMDatasetAccessingImageFrameInfo::Pointer > DICOMDatasetAccessingImageFrameList
std::list< DICOMDatasetFinding > FindingsListType