Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkDiffusionImageNiftiReaderService.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 __mitkDiffusionImageNiftiReaderService_h
18 #define __mitkDiffusionImageNiftiReaderService_h
19 
20 #include "mitkCommon.h"
21 
22 // MITK includes
23 #include "mitkImageSource.h"
24 #include "mitkFileReader.h"
25 
27 
28 // ITK includes
29 #include "itkVectorImage.h"
30 #include "mitkAbstractFileReader.h"
31 
32 
33 
34 namespace mitk
35 {
36 
41  {
42  public:
43 
47 
49  virtual std::vector<itk::SmartPointer<BaseData> > Read() override;
50 
51  typedef short DiffusionPixelType;
52 
58 
59  protected:
61  itk::TimeStamp m_CacheTime;
62 
63  void InternalRead();
64 
65  private:
66 
67  DiffusionImageNiftiReaderService* Clone() const override;
69  };
70 
71 } //namespace MITK
72 
73 #endif // __mitkDiffusionImageNiftiReaderService_h
DataCollection - Class to facilitate loading/accessing structured data.
virtual std::vector< itk::SmartPointer< BaseData > > Read() override=0
Reads a path or stream and creates a list of BaseData objects.
mitk::DiffusionPropertyHelper::MeasurementFrameType MeasurementFrameType
GradientDirectionsProperty::GradientDirectionsContainerType GradientDirectionsContainerType
mitk::DiffusionPropertyHelper::ImageType VectorImageType
virtual std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
mitk::DiffusionPropertyHelper::GradientDirectionType GradientDirectionType
mitk::DiffusionPropertyHelper::GradientDirectionsContainerType GradientDirectionContainerType
Image class for storing images.
Definition: mitkImage.h:76
GradientDirectionsProperty::GradientDirectionType GradientDirectionType
Base class for creating mitk::BaseData objects from files or streams.
mitk::MeasurementFrameProperty::MeasurementFrameType MeasurementFrameType
itk::VectorImage< DiffusionPixelType, 3 > ImageType