Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkTensorImage.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 
18 #ifndef __mitkTensorImage__h
19 #define __mitkTensorImage__h
20 
21 #include "mitkImage.h"
22 #include "itkVectorImage.h"
23 
25 
26 
27 #define TENSOR_NUM_ELEMENTS 6
28 
29 namespace mitk
30 {
31 
36  {
37 
38  public:
39 
41  itkFactorylessNewMacro(Self)
42  itkCloneMacro(Self)
43 
44  virtual vtkImageData* GetNonRgbVtkImageData(int t = 0, int n = 0);
45 
46  virtual vtkImageData* GetVtkImageData(int t = 0, int n = 0) override;
47  virtual const vtkImageData* GetVtkImageData(int t = 0, int n = 0) const override;
48 
49  virtual void ConstructRgbImage() const;
50 
51  protected:
52  TensorImage();
53  virtual ~TensorImage();
54 
56 
57  };
58 
59 } // namespace mitk
60 
61 #endif /* __mitkTensorImage__h */
Base of all data objects.
Definition: mitkBaseData.h:39
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKDIFFUSIONCORE_EXPORT
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Image class for storing images.
Definition: mitkImage.h:76
mitk::Image::Pointer m_RgbImage
this class encapsulates tensor images