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 =========================================================================*/
30 #ifndef vtkRTAnalyticSource_h
31 #define vtkRTAnalyticSource_h
32 
33 #include "vtkImagingCoreModule.h" // For export macro
34 #include "vtkImageAlgorithm.h"
35 
36 class VTKIMAGINGCORE_EXPORT vtkRTAnalyticSource : public vtkImageAlgorithm
37 {
38 public:
39  static vtkRTAnalyticSource *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
48  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
49  int zMin, int zMax);
50  vtkGetVector6Macro(WholeExtent, int);
52 
54 
57  vtkSetVector3Macro(Center, double);
58  vtkGetVector3Macro(Center, double);
60 
62 
65  vtkSetMacro(Maximum, double);
66  vtkGetMacro(Maximum, double);
68 
70 
73  vtkSetMacro(StandardDeviation, double);
74  vtkGetMacro(StandardDeviation, double);
76 
78 
81  vtkSetMacro(XFreq, double);
82  vtkGetMacro(XFreq, double);
84 
86 
89  vtkSetMacro(YFreq, double);
90  vtkGetMacro(YFreq, double);
92 
94 
97  vtkSetMacro(ZFreq, double);
98  vtkGetMacro(ZFreq, double);
100 
102 
105  vtkSetMacro(XMag, double);
106  vtkGetMacro(XMag, double);
108 
110 
113  vtkSetMacro(YMag, double);
114  vtkGetMacro(YMag, double);
116 
118 
121  vtkSetMacro(ZMag, double);
122  vtkGetMacro(ZMag, double);
124 
126 
129  vtkSetMacro(SubsampleRate, int);
130  vtkGetMacro(SubsampleRate, int);
132 
133 protected:
141 
146  {
147  }
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 
161  virtual int RequestInformation(vtkInformation *request,
162  vtkInformationVector **inputVector,
163  vtkInformationVector *outputVector);
165 
167 
168 private:
169  vtkRTAnalyticSource(const vtkRTAnalyticSource&) VTK_DELETE_FUNCTION;
170  void operator=(const vtkRTAnalyticSource&) VTK_DELETE_FUNCTION;
171 };
172 
173 
174 #endif
Store vtkAlgorithm input/output information.
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
Create an image for regression testing.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
~vtkRTAnalyticSource()
Destructor.
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data
Definition: vtkDataObject.h:64