VTK
|
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 "vtkImageAlgorithm.h" 00029 00030 class VTK_IMAGING_EXPORT vtkImageGaussianSource : public vtkImageAlgorithm 00031 { 00032 public: 00033 static vtkImageGaussianSource *New(); 00034 vtkTypeMacro(vtkImageGaussianSource,vtkImageAlgorithm); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00038 00039 void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, 00040 int zMin, int zMax); 00042 00044 00045 vtkSetVector3Macro(Center, double); 00046 vtkGetVector3Macro(Center, double); 00048 00050 00051 vtkSetMacro(Maximum, double); 00052 vtkGetMacro(Maximum, double); 00054 00056 00057 vtkSetMacro(StandardDeviation, double); 00058 vtkGetMacro(StandardDeviation, double); 00060 00061 protected: 00062 vtkImageGaussianSource(); 00063 ~vtkImageGaussianSource() {}; 00064 00065 double StandardDeviation; 00066 int WholeExtent[6]; 00067 double Center[3]; 00068 double Maximum; 00069 00070 virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *); 00071 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00072 private: 00073 vtkImageGaussianSource(const vtkImageGaussianSource&); // Not implemented. 00074 void operator=(const vtkImageGaussianSource&); // Not implemented. 00075 }; 00076 00077 00078 #endif