Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 mitkThreeDnTDICOMSeriesReader_h
18 #define mitkThreeDnTDICOMSeriesReader_h
19 
21 
22 #include "MitkDICOMReaderExports.h"
23 
24 namespace mitk
25 {
26 
46 {
47  public:
48 
51  itkNewMacro( ThreeDnTDICOMSeriesReader );
53 
55  void SetGroup3DandT(bool on);
56  bool GetGroup3DandT() const;
57 
58  // void AllocateOutputImages();
60  virtual bool LoadImages() override;
61 
62  virtual bool operator==(const DICOMFileReader& other) const override;
63 
64  protected:
65 
66  ThreeDnTDICOMSeriesReader(unsigned int decimalPlacesForOrientation = 5);
67  virtual ~ThreeDnTDICOMSeriesReader();
68 
71 
77  virtual SortingBlockList Condense3DBlocks(SortingBlockList&) override;
78 
79  bool LoadMitkImageForImageBlockDescriptor(DICOMImageBlockDescriptor& block) const override;
80 
82 };
83 
84 }
85 
86 #endif
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
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:44
Output descriptor for DICOMFileReader.
Extends DICOMITKSeriesGDCMReader by sorting/grouping into 3D+t image blocks.
std::vector< DICOMDatasetAccessingImageFrameList > SortingBlockList
#define mitkCloneMacro(classname)
Definition: mitkCommon.h:162
Interface for DICOM readers that produce mitk::Images.