VTK
vtkRTAnalyticSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRTAnalyticSource.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef __vtkRTAnalyticSource_h
30 #define __vtkRTAnalyticSource_h
31 
32 #include "vtkImageAlgorithm.h"
33 
35 {
36 public:
37  static vtkRTAnalyticSource *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
44  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
45  int zMin, int zMax);
46  vtkGetVector6Macro(WholeExtent, int);
48 
50 
51  vtkSetVector3Macro(Center, double);
52  vtkGetVector3Macro(Center, double);
54 
56 
57  vtkSetMacro(Maximum, double);
58  vtkGetMacro(Maximum, double);
60 
62 
63  vtkSetMacro(StandardDeviation, double);
64  vtkGetMacro(StandardDeviation, double);
66 
68 
69  vtkSetMacro(XFreq, double);
70  vtkGetMacro(XFreq, double);
72 
74 
75  vtkSetMacro(YFreq, double);
76  vtkGetMacro(YFreq, double);
78 
80 
81  vtkSetMacro(ZFreq, double);
82  vtkGetMacro(ZFreq, double);
84 
86 
87  vtkSetMacro(XMag, double);
88  vtkGetMacro(XMag, double);
90 
92 
93  vtkSetMacro(YMag, double);
94  vtkGetMacro(YMag, double);
96 
98 
99  vtkSetMacro(ZMag, double);
100  vtkGetMacro(ZMag, double);
102 
104 
105  vtkSetMacro(SubsampleRate, int);
106  vtkGetMacro(SubsampleRate, int);
108 
109 protected:
115 
117 
119  {
120  }
122 
123  double XFreq;
124  double YFreq;
125  double ZFreq;
126  double XMag;
127  double YMag;
128  double ZMag;
130  int WholeExtent[6];
131  double Center[3];
132  double Maximum;
134 
135  virtual int RequestInformation(vtkInformation *request,
136  vtkInformationVector **inputVector,
137  vtkInformationVector *outputVector);
138  virtual void ExecuteData(vtkDataObject *data);
139 private:
140  vtkRTAnalyticSource(const vtkRTAnalyticSource&); // Not implemented.
141  void operator=(const vtkRTAnalyticSource&); // Not implemented.
142 };
143 
144 
145 #endif