VTK  9.2.5
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 =========================================================================*/
59 #ifndef vtkRTAnalyticSource_h
60 #define vtkRTAnalyticSource_h
61 
62 #include "vtkImageAlgorithm.h"
63 #include "vtkImagingCoreModule.h" // For export macro
64 
65 class VTKIMAGINGCORE_EXPORT vtkRTAnalyticSource : public vtkImageAlgorithm
66 {
67 public:
70  void PrintSelf(ostream& os, vtkIndent indent) override;
71 
73 
77  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax);
78  vtkGetVector6Macro(WholeExtent, int);
80 
82 
85  vtkSetVector3Macro(Center, double);
86  vtkGetVector3Macro(Center, double);
88 
90 
93  vtkSetMacro(Maximum, double);
94  vtkGetMacro(Maximum, double);
96 
98 
101  vtkSetMacro(StandardDeviation, double);
102  vtkGetMacro(StandardDeviation, double);
104 
106 
109  vtkSetMacro(XFreq, double);
110  vtkGetMacro(XFreq, double);
112 
114 
117  vtkSetMacro(YFreq, double);
118  vtkGetMacro(YFreq, double);
120 
122 
125  vtkSetMacro(ZFreq, double);
126  vtkGetMacro(ZFreq, double);
128 
130 
133  vtkSetMacro(XMag, double);
134  vtkGetMacro(XMag, double);
136 
138 
141  vtkSetMacro(YMag, double);
142  vtkGetMacro(YMag, double);
144 
146 
149  vtkSetMacro(ZMag, double);
150  vtkGetMacro(ZMag, double);
152 
154 
157  vtkSetMacro(SubsampleRate, int);
158  vtkGetMacro(SubsampleRate, int);
160 
161 protected:
169 
173  ~vtkRTAnalyticSource() override = default;
174 
175  double XFreq;
176  double YFreq;
177  double ZFreq;
178  double XMag;
179  double YMag;
180  double ZMag;
182  int WholeExtent[6];
183  double Center[3];
184  double Maximum;
186 
188  vtkInformationVector* outputVector) override;
190 
191 private:
192  vtkRTAnalyticSource(const vtkRTAnalyticSource&) = delete;
193  void operator=(const vtkRTAnalyticSource&) = delete;
194 };
195 
196 #endif
general representation of visualization data
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:119
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