VTK
vtkImageGaussianSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageGaussianSource.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef vtkImageGaussianSource_h
26 #define vtkImageGaussianSource_h
27 
28 #include "vtkImagingSourcesModule.h" // For export macro
29 #include "vtkImageAlgorithm.h"
30 
32 {
33 public:
34  static vtkImageGaussianSource *New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
41  int zMin, int zMax);
43 
45 
46  vtkSetVector3Macro(Center, double);
47  vtkGetVector3Macro(Center, double);
49 
51 
52  vtkSetMacro(Maximum, double);
53  vtkGetMacro(Maximum, double);
55 
57 
58  vtkSetMacro(StandardDeviation, double);
59  vtkGetMacro(StandardDeviation, double);
61 
62 protected:
65 
67  int WholeExtent[6];
68  double Center[3];
69  double Maximum;
70 
73 private:
74  vtkImageGaussianSource(const vtkImageGaussianSource&); // Not implemented.
75  void operator=(const vtkImageGaussianSource&); // Not implemented.
76 };
77 
78 
79 #endif
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIMAGINGSOURCES_EXPORT
Create an image with Gaussian pixel values.
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)