Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
mitk::DICOMTagPathList
std::vector< DICOMTagPath > DICOMTagPathList
Definition: mitkDICOMTagPath.h:155
mitk::DICOMDCMTKTagScanner
Encapsulates the tag scanning process for a set of DICOM files.
Definition: mitkDICOMDCMTKTagScanner.h:31
mitk::DICOMDCMTKTagScanner::m_ScannedTags
std::set< DICOMTagPath > m_ScannedTags
Definition: mitkDICOMDCMTKTagScanner.h:86
mitk::DICOMTag
Representation of a DICOM tag.
Definition: mitkDICOMTag.h:32
mitk::DICOMDCMTKTagScanner::m_InputFilenames
StringList m_InputFilenames
Definition: mitkDICOMDCMTKTagScanner.h:87
mitkDICOMEnums.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::DICOMTagList
std::vector< DICOMTag > DICOMTagList
Definition: mitkDICOMTag.h:59
mitkDICOMGenericTagCache.h
mitk::DICOMDatasetAccessingImageFrameList
std::vector< DICOMDatasetAccessingImageFrameInfo::Pointer > DICOMDatasetAccessingImageFrameList
Definition: mitkDICOMDatasetAccessingImageFrameInfo.h:46
mitkDICOMTagScanner.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MITKDICOM_EXPORT
#define MITKDICOM_EXPORT
Definition: MitkDICOMExports.h:15
mitk::DICOMTagScanner
Abstracts the tag scanning process for a set of DICOM files.
Definition: mitkDICOMTagScanner.h:42
mitk::StringList
std::vector< std::string > StringList
Definition: mitkDICOMEnums.h:22
mitk::DICOMDCMTKTagScanner::m_Cache
DICOMGenericTagCache::Pointer m_Cache
Definition: mitkDICOMDCMTKTagScanner.h:88
mitk::DICOMTagPath
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag,...
Definition: mitkDICOMTagPath.h:34