Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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 =========================================================================*/
00041 #ifndef __vtkImageGaussianSource_h
00042 #define __vtkImageGaussianSource_h
00043 
00044 #include "vtkImageSource.h"
00045 
00046 class VTK_IMAGING_EXPORT vtkImageGaussianSource : public vtkImageSource
00047 {
00048 public:
00049   static vtkImageGaussianSource *New();
00050   vtkTypeRevisionMacro(vtkImageGaussianSource,vtkImageSource);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00052 
00054 
00055   void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
00056                       int zMin, int zMax);
00058   
00060 
00061   vtkSetVector3Macro(Center, float);
00062   vtkGetVector3Macro(Center, float);
00064 
00066 
00067   vtkSetMacro(Maximum, float);
00068   vtkGetMacro(Maximum, float);
00070 
00072 
00073   vtkSetMacro(StandardDeviation, float);
00074   vtkGetMacro(StandardDeviation, float);
00076 
00077 protected:
00078   vtkImageGaussianSource();
00079   ~vtkImageGaussianSource() {};
00080 
00081   float StandardDeviation;
00082   int WholeExtent[6];
00083   float Center[3];
00084   float Maximum;
00085 
00086   virtual void ExecuteInformation();
00087   virtual void ExecuteData(vtkDataObject *data);
00088 private:
00089   vtkImageGaussianSource(const vtkImageGaussianSource&);  // Not implemented.
00090   void operator=(const vtkImageGaussianSource&);  // Not implemented.
00091 };
00092 
00093 
00094 #endif