00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00029
#ifndef __vtkImageSinusoidSource_h
00030
#define __vtkImageSinusoidSource_h
00031
00032
#include "vtkImageSource.h"
00033
00034 class VTK_IMAGING_EXPORT vtkImageSinusoidSource :
public vtkImageSource
00035 {
00036
public:
00037
static vtkImageSinusoidSource *
New();
00038 vtkTypeRevisionMacro(vtkImageSinusoidSource,
vtkImageSource);
00039
void PrintSelf(ostream& os,
vtkIndent indent);
00040
00042
00043
void SetWholeExtent(
int xMinx,
int xMax,
int yMin,
int yMax,
00044
int zMin,
int zMax);
00046
00048
00050
void SetDirection(
float,
float,
float);
00051
void SetDirection(
float dir[3]);
00052 vtkGetVector3Macro(Direction,
float);
00054
00056
00057 vtkSetMacro(Period,
float);
00058 vtkGetMacro(Period,
float);
00060
00062
00063 vtkSetMacro(Phase,
float);
00064 vtkGetMacro(Phase,
float);
00066
00068
00069 vtkSetMacro(Amplitude,
float);
00070 vtkGetMacro(Amplitude,
float);
00072
00073
protected:
00074 vtkImageSinusoidSource();
00075 ~vtkImageSinusoidSource() {};
00076
00077 int WholeExtent[6];
00078 float Direction[3];
00079 float Period;
00080 float Phase;
00081 float Amplitude;
00082
00083
virtual void ExecuteInformation();
00084
virtual void ExecuteData(
vtkDataObject *data);
00085
private:
00086 vtkImageSinusoidSource(
const vtkImageSinusoidSource&);
00087
void operator=(
const vtkImageSinusoidSource&);
00088 };
00089
00090
00091
#endif
00092
00093
00094