VTK  9.3.1
vtkImageGaussianSource.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkImageGaussianSource_h
18 #define vtkImageGaussianSource_h
19 
20 #include "vtkImageAlgorithm.h"
21 #include "vtkImagingSourcesModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKIMAGINGSOURCES_EXPORT vtkImageGaussianSource : public vtkImageAlgorithm
25 {
26 public:
27  static vtkImageGaussianSource* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
34  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax);
35 
37 
40  vtkSetVector3Macro(Center, double);
41  vtkGetVector3Macro(Center, double);
43 
45 
48  vtkSetMacro(Maximum, double);
49  vtkGetMacro(Maximum, double);
51 
53 
56  vtkSetMacro(StandardDeviation, double);
57  vtkGetMacro(StandardDeviation, double);
59 
60 protected:
62  ~vtkImageGaussianSource() override = default;
63 
65  int WholeExtent[6];
66  double Center[3];
67  double Maximum;
68 
71 
72 private:
74  void operator=(const vtkImageGaussianSource&) = delete;
75 };
76 
77 VTK_ABI_NAMESPACE_END
78 #endif
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
Create an image with Gaussian pixel values.
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.