Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Imaging/vtkImageSinusoidSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00040 #ifndef __vtkImageSinusoidSource_h
00041 #define __vtkImageSinusoidSource_h
00042
00043 #include "vtkImageSource.h"
00044
00045 class VTK_IMAGING_EXPORT vtkImageSinusoidSource : public vtkImageSource
00046 {
00047 public:
00048 static vtkImageSinusoidSource *New();
00049 vtkTypeRevisionMacro(vtkImageSinusoidSource,vtkImageSource);
00050 void PrintSelf(ostream& os, vtkIndent indent);
00051
00053
00054 void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
00055 int zMin, int zMax);
00057
00059
00061 void SetDirection(float,float,float);
00062 void SetDirection(float dir[3]);
00063 vtkGetVector3Macro(Direction, float);
00065
00067
00068 vtkSetMacro(Period, float);
00069 vtkGetMacro(Period, float);
00071
00073
00074 vtkSetMacro(Phase, float);
00075 vtkGetMacro(Phase, float);
00077
00079
00080 vtkSetMacro(Amplitude, float);
00081 vtkGetMacro(Amplitude, float);
00083
00084 protected:
00085 vtkImageSinusoidSource();
00086 ~vtkImageSinusoidSource() {};
00087
00088 int WholeExtent[6];
00089 float Direction[3];
00090 float Period;
00091 float Phase;
00092 float Amplitude;
00093
00094 virtual void ExecuteInformation();
00095 virtual void ExecuteData(vtkDataObject *data);
00096 private:
00097 vtkImageSinusoidSource(const vtkImageSinusoidSource&);
00098 void operator=(const vtkImageSinusoidSource&);
00099 };
00100
00101
00102 #endif
00103
00104
00105