Medical Imaging Interaction Toolkit  2018.4.99-c0f884b2
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 (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 mitkDICOMDCMTKTagScanner_h
14 #define mitkDICOMDCMTKTagScanner_h
15 
16 #include <set>
17 
18 #include "mitkDICOMTagScanner.h"
19 #include "mitkDICOMEnums.h"
21 
22 namespace mitk
23 {
24 
32  {
33  public:
34 
36  itkFactorylessNewMacro( DICOMDCMTKTagScanner );
37  itkCloneMacro(Self);
38 
42  void AddTag(const DICOMTag& tag) override;
46  void AddTags(const DICOMTagList& tags) override;
50  void AddTagPath(const DICOMTagPath& tag) override;
54  void AddTagPaths(const DICOMTagPathList& tags) override;
55 
61  void SetInputFiles(const StringList& filenames) override;
62 
69  void Scan() override;
70 
74  DICOMDatasetAccessingImageFrameList GetFrameInfoList() const override;
75 
79  DICOMTagCache::Pointer GetScanCache() const override;
80 
81  protected:
82 
84  ~DICOMDCMTKTagScanner() override;
85 
86  std::set<DICOMTagPath> m_ScannedTags;
88  DICOMGenericTagCache::Pointer m_Cache;
89 
90  private:
92  };
93 }
94 
95 #endif
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:59
Representation of a DICOM tag.
Definition: mitkDICOMTag.h:32
#define MITKDICOMREADER_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
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