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
mitkQBallImage.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 __mitkQBallImage__h
19 #define __mitkQBallImage__h
20 
21 #include "mitkImage.h"
22 #include "itkVectorImage.h"
23 #include "mitkImageVtkAccessor.h"
24 
26 
27 // generate by n-fold subdivisions of an icosahedron
28 // 1 - 12
29 // 2 - 42
30 // 3 - 92
31 // 4 - 162
32 // 5 - 252
33 // 6 - 362
34 // 7 - 492
35 // 8 - 642
36 // 9 - 812
37 // 10 - 1002
38 #define QBALL_ODFSIZE 252
39 
40 namespace mitk
41 {
42 
47  {
48 
49  public:
50 
52  itkFactorylessNewMacro(Self)
53  itkCloneMacro(Self)
54 
55  virtual const vtkImageData* GetNonRgbVtkImageData(int t = 0, int n = 0) const;
56  virtual vtkImageData* GetNonRgbVtkImageData(int t = 0, int n = 0);
57 
58  virtual const vtkImageData* GetVtkImageData(int t = 0, int n = 0) const override;
59  virtual vtkImageData* GetVtkImageData(int t = 0, int n = 0) override;
60 
61  virtual void ConstructRgbImage() const;
62 
63  protected:
64  QBallImage();
65  virtual ~QBallImage();
66 
68 
69  };
70 
71 } // namespace mitk
72 
73 #endif /* __mitkQBallImage__h */
Base of all data objects.
Definition: mitkBaseData.h:39
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKDIFFUSIONCORE_EXPORT
this class encapsulates qball images
mitk::Image::Pointer m_RgbImage
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Image class for storing images.
Definition: mitkImage.h:76