VTK  9.1.0
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=========================================================================*/
33#ifndef vtkRTAnalyticSource_h
34#define vtkRTAnalyticSource_h
35
36#include "vtkImageAlgorithm.h"
37#include "vtkImagingCoreModule.h" // For export macro
38
39class VTKIMAGINGCORE_EXPORT vtkRTAnalyticSource : public vtkImageAlgorithm
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
51 void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax);
52 vtkGetVector6Macro(WholeExtent, int);
54
56
59 vtkSetVector3Macro(Center, double);
60 vtkGetVector3Macro(Center, double);
62
64
67 vtkSetMacro(Maximum, double);
68 vtkGetMacro(Maximum, double);
70
72
75 vtkSetMacro(StandardDeviation, double);
76 vtkGetMacro(StandardDeviation, double);
78
80
83 vtkSetMacro(XFreq, double);
84 vtkGetMacro(XFreq, double);
86
88
91 vtkSetMacro(YFreq, double);
92 vtkGetMacro(YFreq, double);
94
96
99 vtkSetMacro(ZFreq, double);
100 vtkGetMacro(ZFreq, double);
102
104
107 vtkSetMacro(XMag, double);
108 vtkGetMacro(XMag, double);
110
112
115 vtkSetMacro(YMag, double);
116 vtkGetMacro(YMag, double);
118
120
123 vtkSetMacro(ZMag, double);
124 vtkGetMacro(ZMag, double);
126
128
131 vtkSetMacro(SubsampleRate, int);
132 vtkGetMacro(SubsampleRate, int);
134
135protected:
143
147 ~vtkRTAnalyticSource() override = default;
148
149 double XFreq;
150 double YFreq;
151 double ZFreq;
152 double XMag;
153 double YMag;
154 double ZMag;
156 int WholeExtent[6];
157 double Center[3];
158 double Maximum;
160
162 vtkInformationVector* outputVector) override;
164
165private:
167 void operator=(const vtkRTAnalyticSource&) = delete;
168};
169
170#endif
general representation of visualization data
Definition: vtkDataObject.h:69
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:43
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Create an image for regression testing.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
static vtkRTAnalyticSource * New()
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