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

Imaging/vtkImageGaussianSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageGaussianSource.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 =========================================================================*/
00029 #ifndef __vtkImageGaussianSource_h
00030 #define __vtkImageGaussianSource_h
00031 
00032 #include "vtkImageSource.h"
00033 
00034 class VTK_IMAGING_EXPORT vtkImageGaussianSource : public vtkImageSource
00035 {
00036 public:
00037   static vtkImageGaussianSource *New();
00038   vtkTypeRevisionMacro(vtkImageGaussianSource,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 
00049   vtkSetVector3Macro(Center, float);
00050   vtkGetVector3Macro(Center, float);
00052 
00054 
00055   vtkSetMacro(Maximum, float);
00056   vtkGetMacro(Maximum, float);
00058 
00060 
00061   vtkSetMacro(StandardDeviation, float);
00062   vtkGetMacro(StandardDeviation, float);
00064 
00065 protected:
00066   vtkImageGaussianSource();
00067   ~vtkImageGaussianSource() {};
00068 
00069   float StandardDeviation;
00070   int WholeExtent[6];
00071   float Center[3];
00072   float Maximum;
00073 
00074   virtual void ExecuteInformation();
00075   virtual void ExecuteData(vtkDataObject *data);
00076 private:
00077   vtkImageGaussianSource(const vtkImageGaussianSource&);  // Not implemented.
00078   void operator=(const vtkImageGaussianSource&);  // Not implemented.
00079 };
00080 
00081 
00082 #endif