Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkDICOMTagCache_h
18 #define mitkDICOMTagCache_h
19 
20 #include "itkObjectFactory.h"
21 #include "mitkCommon.h"
22 
23 #include "mitkDICOMTag.h"
24 #include "mitkDICOMDatasetAccess.h"
25 #include "mitkDICOMEnums.h"
26 
28 #include "MitkDICOMReaderExports.h"
29 
30 namespace mitk
31 {
32 
37  class MITKDICOMREADER_EXPORT DICOMTagCache : public itk::Object
38  {
39  public:
40  mitkClassMacroItkParent( DICOMTagCache, itk::Object );
41 
42  typedef std::list<DICOMDatasetFinding> FindingsListType;
43 
47  virtual void SetInputFiles(const StringList& filenames);
48 
49  virtual DICOMDatasetFinding GetTagValue(DICOMImageFrameInfo* frame, const DICOMTag& tag) const = 0;
50 
51  virtual FindingsListType GetTagValue(DICOMImageFrameInfo* frame, const DICOMTagPath& path) const = 0;
52 
56  virtual DICOMDatasetAccessingImageFrameList GetFrameInfoList() const = 0;
57 
58  protected:
59 
61  DICOMTagCache();
63  virtual ~DICOMTagCache();
64  };
65 }
66 
67 #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:37
#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:53
std::vector< std::string > StringList
std::vector< DICOMDatasetAccessingImageFrameInfo::Pointer > DICOMDatasetAccessingImageFrameList
std::list< DICOMDatasetFinding > FindingsListType