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
36class VTKIMAGINGCORE_EXPORT vtkRTAnalyticSource : public vtkImageAlgorithm
37{
38public:
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
133protected:
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
168private:
169 vtkRTAnalyticSource(const vtkRTAnalyticSource&) VTK_DELETE_FUNCTION;
170 void operator=(const vtkRTAnalyticSource&) VTK_DELETE_FUNCTION;
171};
172
173
174#endif
general representation of visualization data
Definition: vtkDataObject.h:65
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Create an image for regression testing.
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
int FillOutputPortInformation(int port, vtkInformation *info)
These method should be reimplemented by subclasses that have more than a single input or single outpu...
static vtkRTAnalyticSource * New()
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.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
~vtkRTAnalyticSource()
Destructor.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
@ data
Definition: vtkX3D.h:315
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.