00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00029 #ifndef __vtkImageNoiseSource_h
00030 #define __vtkImageNoiseSource_h
00031
00032
00033 #include "vtkImageAlgorithm.h"
00034
00035
00036 class VTK_IMAGING_EXPORT vtkImageNoiseSource : public vtkImageAlgorithm
00037 {
00038 public:
00039 static vtkImageNoiseSource *New();
00040 vtkTypeMacro(vtkImageNoiseSource,vtkImageAlgorithm);
00041 void PrintSelf(ostream& os, vtkIndent indent);
00042
00044
00045 vtkSetMacro(Minimum, double);
00046 vtkGetMacro(Minimum, double);
00047 vtkSetMacro(Maximum, double);
00048 vtkGetMacro(Maximum, double);
00050
00052
00053 void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
00054 int zMin, int zMax);
00055 void SetWholeExtent(const int ext[6])
00056 {
00057 this->SetWholeExtent(ext[0], ext[1], ext[2], ext[3], ext[4], ext[5]);
00058 }
00060
00061 protected:
00062 vtkImageNoiseSource();
00063 ~vtkImageNoiseSource() {};
00064
00065 double Minimum;
00066 double Maximum;
00067 int WholeExtent[6];
00068
00069 virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *);
00070 virtual void ExecuteData(vtkDataObject *data);
00071 private:
00072 vtkImageNoiseSource(const vtkImageNoiseSource&);
00073 void operator=(const vtkImageNoiseSource&);
00074 };
00075
00076
00077 #endif
00078
00079