Medical Imaging Interaction Toolkit  2024.06.00
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 "MitkDICOMExports.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  itkBooleanMacro(OnlyCondenseSameSeries);
55  itkSetMacro(OnlyCondenseSameSeries, bool);
56  itkGetConstMacro(OnlyCondenseSameSeries, bool);
57 
58  // void AllocateOutputImages();
60  bool LoadImages() override;
61 
62  bool operator==(const DICOMFileReader& other) const override;
63 
64  static bool GetDefaultGroup3DandT()
65  {
66  return m_DefaultGroup3DandT;
67  }
69  {
70  return m_DefaultOnlyCondenseSameSeries;
71  }
72 
73  protected:
74 
75  ThreeDnTDICOMSeriesReader(unsigned int decimalPlacesForOrientation = Superclass::m_DefaultDecimalPlacesForOrientation);
76  ~ThreeDnTDICOMSeriesReader() override;
77 
80 
86  SortingBlockList Condense3DBlocks(SortingBlockList&) override;
87 
88  bool LoadMitkImageForImageBlockDescriptor(DICOMImageBlockDescriptor& block) const override;
89 
92 
93  const static bool m_DefaultGroup3DandT = true;
94  const static bool m_DefaultOnlyCondenseSameSeries = true;
95 };
96 
97 }
98 
99 #endif
mitk::DICOMImageBlockDescriptor
Output descriptor for DICOMFileReader.
Definition: mitkDICOMImageBlockDescriptor.h:77
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
mitk::ThreeDnTDICOMSeriesReader::GetDefaultOnlyCondenseSameSeries
static bool GetDefaultOnlyCondenseSameSeries()
Definition: mitkThreeDnTDICOMSeriesReader.h:68
MitkDICOMExports.h
mitk::ThreeDnTDICOMSeriesReader::m_Group3DandT
bool m_Group3DandT
Definition: mitkThreeDnTDICOMSeriesReader.h:90
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::DICOMFileReader
Interface for DICOM readers that produce mitk::Images.
Definition: mitkDICOMFileReader.h:55
mitk::ThreeDnTDICOMSeriesReader::m_OnlyCondenseSameSeries
bool m_OnlyCondenseSameSeries
Definition: mitkThreeDnTDICOMSeriesReader.h:91
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
mitk::ThreeDnTDICOMSeriesReader::GetDefaultGroup3DandT
static bool GetDefaultGroup3DandT()
Definition: mitkThreeDnTDICOMSeriesReader.h:64
mitk::DICOMITKSeriesGDCMReader
Flexible reader based on itk::ImageSeriesReader and GDCM, for single-slice modalities like CT,...
Definition: mitkDICOMITKSeriesGDCMReader.h:190
mitkCloneMacro
#define mitkCloneMacro(classname)
Definition: mitkCommon.h:154
mitk::ThreeDnTDICOMSeriesReader
Extends DICOMITKSeriesGDCMReader by sorting/grouping into 3D+t image blocks.
Definition: mitkThreeDnTDICOMSeriesReader.h:41
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MITKDICOM_EXPORT
#define MITKDICOM_EXPORT
Definition: MitkDICOMExports.h:15
mitkDICOMITKSeriesGDCMReader.h