VTK  9.2.6
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 =========================================================================*/
39 #ifndef vtkRTAnalyticSource_h
40 #define vtkRTAnalyticSource_h
41 
42 #include "vtkImageAlgorithm.h"
43 #include "vtkImagingCoreModule.h" // For export macro
44 
45 class VTKIMAGINGCORE_EXPORT vtkRTAnalyticSource : public vtkImageAlgorithm
46 {
47 public:
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
53 
57  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax);
58  vtkGetVector6Macro(WholeExtent, int);
60 
62 
65  vtkSetVector3Macro(Center, double);
66  vtkGetVector3Macro(Center, double);
68 
70 
73  vtkSetMacro(Maximum, double);
74  vtkGetMacro(Maximum, double);
76 
78 
81  vtkSetMacro(StandardDeviation, double);
82  vtkGetMacro(StandardDeviation, double);
84 
86 
89  vtkSetMacro(XFreq, double);
90  vtkGetMacro(XFreq, double);
92 
94 
97  vtkSetMacro(YFreq, double);
98  vtkGetMacro(YFreq, double);
100 
102 
105  vtkSetMacro(ZFreq, double);
106  vtkGetMacro(ZFreq, double);
108 
110 
113  vtkSetMacro(XMag, double);
114  vtkGetMacro(XMag, double);
116 
118 
121  vtkSetMacro(YMag, double);
122  vtkGetMacro(YMag, double);
124 
126 
129  vtkSetMacro(ZMag, double);
130  vtkGetMacro(ZMag, double);
132 
134 
137  vtkSetMacro(SubsampleRate, int);
138  vtkGetMacro(SubsampleRate, int);
140 
141 protected:
149 
153  ~vtkRTAnalyticSource() override = default;
154 
155  double XFreq;
156  double YFreq;
157  double ZFreq;
158  double XMag;
159  double YMag;
160  double ZMag;
162  int WholeExtent[6];
163  double Center[3];
164  double Maximum;
166 
168  vtkInformationVector* outputVector) override;
170 
171 private:
172  vtkRTAnalyticSource(const vtkRTAnalyticSource&) = delete;
173  void operator=(const vtkRTAnalyticSource&) = delete;
174 };
175 
176 #endif
general representation of visualization data
Definition: vtkDataObject.h:75
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:49
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Create an image for regression testing.
static vtkRTAnalyticSource * New()
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
vtkRTAnalyticSource()
Default constructor.
void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
Set/Get the extent of the whole output image.
~vtkRTAnalyticSource() override=default
Destructor.
@ data
Definition: vtkX3D.h:321