Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkDICOMDCMTKTagScanner.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 mitkDICOMDCMTKTagScanner_h
18 #define mitkDICOMDCMTKTagScanner_h
19 
20 #include <set>
21 
22 #include "mitkDICOMTagScanner.h"
23 #include "mitkDICOMEnums.h"
25 
26 namespace mitk
27 {
28 
36  {
37  public:
38 
40  itkFactorylessNewMacro( DICOMDCMTKTagScanner );
41  itkCloneMacro(Self);
42 
46  virtual void AddTag(const DICOMTag& tag) override;
50  virtual void AddTags(const DICOMTagList& tags) override;
54  virtual void AddTagPath(const DICOMTagPath& tag) override;
58  virtual void AddTagPaths(const DICOMTagPathList& tags) override;
59 
65  virtual void SetInputFiles(const StringList& filenames) override;
66 
73  virtual void Scan();
74 
78  virtual DICOMDatasetAccessingImageFrameList GetFrameInfoList() const override;
79 
83  virtual DICOMTagCache::Pointer GetScanCache() const override;
84 
85  protected:
86 
88  virtual ~DICOMDCMTKTagScanner();
89 
90  std::set<DICOMTagPath> m_ScannedTags;
93 
94  private:
96  };
97 }
98 
99 #endif
itk::SmartPointer< Self > Pointer
Encapsulates the tag scanning process for a set of DICOM files.
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag...
DICOMGenericTagCache::Pointer m_Cache
std::vector< DICOMTag > DICOMTagList
Definition: mitkDICOMTag.h:64
Representation of a DICOM tag.
Definition: mitkDICOMTag.h:37
#define MITKDICOMREADER_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
std::vector< std::string > StringList
std::vector< DICOMTagPath > DICOMTagPathList
Abstracts the tag scanning process for a set of DICOM files.
std::vector< DICOMDatasetAccessingImageFrameInfo::Pointer > DICOMDatasetAccessingImageFrameList
std::set< DICOMTagPath > m_ScannedTags