Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkImageNoiseSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageNoiseSource.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00033 #ifndef __vtkImageNoiseSource_h
00034 #define __vtkImageNoiseSource_h
00035 
00036 
00037 #include "vtkImageSource.h"
00038 
00039 
00040 class VTK_IMAGING_EXPORT vtkImageNoiseSource : public vtkImageSource 
00041 {
00042 public:
00043   static vtkImageNoiseSource *New();
00044   vtkTypeRevisionMacro(vtkImageNoiseSource,vtkImageSource);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00048 
00049   vtkSetMacro(Minimum, float);
00050   vtkGetMacro(Minimum, float);
00051   vtkSetMacro(Maximum, float);
00052   vtkGetMacro(Maximum, float);
00054 
00056 
00057   void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
00058                       int zMin, int zMax);
00060 
00061 protected:
00062   vtkImageNoiseSource();
00063   ~vtkImageNoiseSource() {};
00064 
00065   float Minimum;
00066   float Maximum;
00067   int WholeExtent[6];
00068 
00069   virtual void ExecuteInformation();
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