VTK
dox/Imaging/Sources/vtkImageGaussianSource.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImageGaussianSource.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 =========================================================================*/
00025 #ifndef __vtkImageGaussianSource_h
00026 #define __vtkImageGaussianSource_h
00027 
00028 #include "vtkImagingSourcesModule.h" // For export macro
00029 #include "vtkImageAlgorithm.h"
00030 
00031 class VTKIMAGINGSOURCES_EXPORT vtkImageGaussianSource : public vtkImageAlgorithm
00032 {
00033 public:
00034   static vtkImageGaussianSource *New();
00035   vtkTypeMacro(vtkImageGaussianSource,vtkImageAlgorithm);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00039 
00040   void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
00041                       int zMin, int zMax);
00043 
00045 
00046   vtkSetVector3Macro(Center, double);
00047   vtkGetVector3Macro(Center, double);
00049 
00051 
00052   vtkSetMacro(Maximum, double);
00053   vtkGetMacro(Maximum, double);
00055 
00057 
00058   vtkSetMacro(StandardDeviation, double);
00059   vtkGetMacro(StandardDeviation, double);
00061 
00062 protected:
00063   vtkImageGaussianSource();
00064   ~vtkImageGaussianSource() {}
00065 
00066   double StandardDeviation;
00067   int WholeExtent[6];
00068   double Center[3];
00069   double Maximum;
00070 
00071   virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *);
00072   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00073 private:
00074   vtkImageGaussianSource(const vtkImageGaussianSource&);  // Not implemented.
00075   void operator=(const vtkImageGaussianSource&);  // Not implemented.
00076 };
00077 
00078 
00079 #endif