VTK
dox/Imaging/vtkImageNoiseSource.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImageNoiseSource.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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&);  // Not implemented.
00073   void operator=(const vtkImageNoiseSource&);  // Not implemented.
00074 };
00075 
00076 
00077 #endif
00078 
00079