VTK  9.2.20230201
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 VTK_ABI_NAMESPACE_BEGIN
66 class VTKIMAGINGCORE_EXPORT vtkRTAnalyticSource : public vtkImageAlgorithm
67 {
68 public:
71  void PrintSelf(ostream& os, vtkIndent indent) override;
72 
74 
78  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax);
79  vtkGetVector6Macro(WholeExtent, int);
81 
83 
86  vtkSetVector3Macro(Center, double);
87  vtkGetVector3Macro(Center, double);
89 
91 
94  vtkSetMacro(Maximum, double);
95  vtkGetMacro(Maximum, double);
97 
99 
102  vtkSetMacro(StandardDeviation, double);
103  vtkGetMacro(StandardDeviation, double);
105 
107 
110  vtkSetMacro(XFreq, double);
111  vtkGetMacro(XFreq, double);
113 
115 
118  vtkSetMacro(YFreq, double);
119  vtkGetMacro(YFreq, double);
121 
123 
126  vtkSetMacro(ZFreq, double);
127  vtkGetMacro(ZFreq, double);
129 
131 
134  vtkSetMacro(XMag, double);
135  vtkGetMacro(XMag, double);
137 
139 
142  vtkSetMacro(YMag, double);
143  vtkGetMacro(YMag, double);
145 
147 
150  vtkSetMacro(ZMag, double);
151  vtkGetMacro(ZMag, double);
153 
155 
158  vtkSetMacro(SubsampleRate, int);
159  vtkGetMacro(SubsampleRate, int);
161 
162 protected:
170 
174  ~vtkRTAnalyticSource() override = default;
175 
176  double XFreq;
177  double YFreq;
178  double ZFreq;
179  double XMag;
180  double YMag;
181  double ZMag;
183  int WholeExtent[6];
184  double Center[3];
185  double Maximum;
187 
189  vtkInformationVector* outputVector) override;
191 
192 private:
193  vtkRTAnalyticSource(const vtkRTAnalyticSource&) = delete;
194  void operator=(const vtkRTAnalyticSource&) = delete;
195 };
196 
197 VTK_ABI_NAMESPACE_END
198 #endif
general representation of visualization data
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:120
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:327