Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkThreeDnTDICOMSeriesReader.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 mitkThreeDnTDICOMSeriesReader_h
14 #define mitkThreeDnTDICOMSeriesReader_h
15 
17 
18 #include "MitkDICOMReaderExports.h"
19 
20 namespace mitk
21 {
22 
42 {
43  public:
44 
47  itkNewMacro( ThreeDnTDICOMSeriesReader );
49 
51  void SetGroup3DandT(bool on);
52  bool GetGroup3DandT() const;
53 
54  // void AllocateOutputImages();
56  bool LoadImages() override;
57 
58  bool operator==(const DICOMFileReader& other) const override;
59 
60  static bool GetDefaultGroup3DandT()
61  {
62  return m_DefaultGroup3DandT;
63  }
64 
65  protected:
66 
67  ThreeDnTDICOMSeriesReader(unsigned int decimalPlacesForOrientation = Superclass::m_DefaultDecimalPlacesForOrientation);
68  ~ThreeDnTDICOMSeriesReader() override;
69 
72 
78  SortingBlockList Condense3DBlocks(SortingBlockList&) override;
79 
80  bool LoadMitkImageForImageBlockDescriptor(DICOMImageBlockDescriptor& block) const override;
81 
83 
84  const static bool m_DefaultGroup3DandT = true;
85 };
86 
87 }
88 
89 #endif
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
Flexible reader based on itk::ImageSeriesReader and GDCM, for single-slice modalities like CT...
#define MITKDICOMREADER_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Output descriptor for DICOMFileReader.
Extends DICOMITKSeriesGDCMReader by sorting/grouping into 3D+t image blocks.
std::vector< DICOMDatasetAccessingImageFrameList > SortingBlockList
#define mitkCloneMacro(classname)
Definition: mitkCommon.h:158
Interface for DICOM readers that produce mitk::Images.