Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkDICOMGDCMTagScanner.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 mitkDICOMGDCMTagScanner_h
18 #define mitkDICOMGDCMTagScanner_h
19 
20 #include "mitkDICOMTagScanner.h"
21 #include "mitkDICOMEnums.h"
22 #include "mitkDICOMGDCMTagCache.h"
23 
24 namespace mitk
25 {
26 
53  {
54  public:
55 
57  itkFactorylessNewMacro( DICOMGDCMTagScanner );
58  itkCloneMacro(Self);
59 
63  virtual void AddTag(const DICOMTag& tag) override;
67  virtual void AddTags(const DICOMTagList& tags) override;
71  virtual void AddTagPath(const DICOMTagPath& tag) override;
75  virtual void AddTagPaths(const DICOMTagPathList& tags) override;
76 
82  virtual void SetInputFiles(const StringList& filenames) override;
83 
90  virtual void Scan();
91 
95  virtual DICOMDatasetAccessingImageFrameList GetFrameInfoList() const override;
96 
100  virtual DICOMTagCache::Pointer GetScanCache() const override;
101 
106  virtual DICOMDatasetFinding GetTagValue(DICOMImageFrameInfo* frame, const DICOMTag& tag) const;
107 
108  protected:
109 
111  virtual ~DICOMGDCMTagScanner();
112 
113  std::set<DICOMTag> m_ScannedTags;
116  std::shared_ptr<gdcm::Scanner> m_GDCMScanner;
117 
118  private:
120  };
121 }
122 
123 #endif
itk::SmartPointer< Self > Pointer
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag...
std::shared_ptr< gdcm::Scanner > m_GDCMScanner
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.
Describes a frame within a DICOM file.
DICOMGDCMTagCache::Pointer m_Cache
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
std::set< DICOMTag > m_ScannedTags
Encapsulates the tag scanning process for a set of DICOM files.
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