Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
vtkOdfSource.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 __vtkOdfSource_h
18 #define __vtkOdfSource_h
19 
21 
22 #include "vtkPolyDataAlgorithm.h"
23 #include "mitkCommon.h"
24 #include <vtkFloatArray.h>
27 
28 class MITKDIFFUSIONCORE_EXPORT vtkOdfSource : public vtkPolyDataAlgorithm
29 {
30 public:
31  vtkTypeMacro(vtkOdfSource,vtkPolyDataAlgorithm);
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35  // Description:
36  // Construct sphere with radius=0.5 and default resolution 8 in both Phi
37  // and Theta directions. Theta ranges from (0,360) and phi (0,180) degrees.
38  static vtkOdfSource *New();
39 
40  vtkSetMacro(Scale,double);
41  vtkGetMacro(Scale,double);
42 
43  vtkSetMacro(AdditionalScale,double);
44  vtkGetMacro(AdditionalScale,double);
45 
46  vtkSetMacro(Normalization,int);
47  vtkGetMacro(Normalization,int);
48 
49  vtkSetMacro(Odf,OdfType);
50  vtkGetMacro(Odf,OdfType);
51 
52 protected:
53  vtkOdfSource();
55 
56  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
57  int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
58 
59  OdfType Odf;
60  double Scale;
63 
64 private:
65  vtkOdfSource(const vtkOdfSource&); // Not implemented.
66  void operator=(const vtkOdfSource&); // Not implemented.
67 };
68 
69 #endif //__vtkOdfSource_h
double AdditionalScale
Definition: vtkOdfSource.h:61
double Scale
Definition: vtkOdfSource.h:60
#define MITKDIFFUSIONCORE_EXPORT
OdfType Odf
Definition: vtkOdfSource.h:59
itk::OrientationDistributionFunction< float, QBALL_ODFSIZE > OdfType
Definition: vtkOdfSource.h:34
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.