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 =========================================================================*/
29 #ifndef vtkRTAnalyticSource_h
30 #define vtkRTAnalyticSource_h
31 
32 #include "vtkImagingCoreModule.h" // For export macro
33 #include "vtkImageAlgorithm.h"
34 
36 {
37 public:
38  static vtkRTAnalyticSource *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
46  int zMin, int zMax);
47  vtkGetVector6Macro(WholeExtent, int);
49 
51 
52  vtkSetVector3Macro(Center, double);
53  vtkGetVector3Macro(Center, double);
55 
57 
58  vtkSetMacro(Maximum, double);
59  vtkGetMacro(Maximum, double);
61 
63 
64  vtkSetMacro(StandardDeviation, double);
65  vtkGetMacro(StandardDeviation, double);
67 
69 
70  vtkSetMacro(XFreq, double);
71  vtkGetMacro(XFreq, double);
73 
75 
76  vtkSetMacro(YFreq, double);
77  vtkGetMacro(YFreq, double);
79 
81 
82  vtkSetMacro(ZFreq, double);
83  vtkGetMacro(ZFreq, double);
85 
87 
88  vtkSetMacro(XMag, double);
89  vtkGetMacro(XMag, double);
91 
93 
94  vtkSetMacro(YMag, double);
95  vtkGetMacro(YMag, double);
97 
99 
100  vtkSetMacro(ZMag, double);
101  vtkGetMacro(ZMag, double);
103 
105 
106  vtkSetMacro(SubsampleRate, int);
107  vtkGetMacro(SubsampleRate, int);
109 
110 protected:
116 
118 
120  {
121  }
123 
124  double XFreq;
125  double YFreq;
126  double ZFreq;
127  double XMag;
128  double YMag;
129  double ZMag;
131  int WholeExtent[6];
132  double Center[3];
133  double Maximum;
135 
136  virtual int RequestInformation(vtkInformation *request,
137  vtkInformationVector **inputVector,
138  vtkInformationVector *outputVector);
140 
142 
143 private:
144  vtkRTAnalyticSource(const vtkRTAnalyticSource&); // Not implemented.
145  void operator=(const vtkRTAnalyticSource&); // Not implemented.
146 };
147 
148 
149 #endif
Store vtkAlgorithm input/output information.
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int FillOutputPortInformation(int port, vtkInformation *info)
#define VTKIMAGINGCORE_EXPORT
Create an image for regression testing.
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:64