VTK  9.3.20240506
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
23VTK_ABI_NAMESPACE_BEGIN
24class VTKIMAGINGSOURCES_EXPORT vtkImageGaussianSource : public vtkImageAlgorithm
25{
26public:
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
60protected:
62 ~vtkImageGaussianSource() override = default;
63
65 int WholeExtent[6];
66 double Center[3];
67 double Maximum;
68
71
72private:
74 void operator=(const vtkImageGaussianSource&) = delete;
75};
76
77VTK_ABI_NAMESPACE_END
78#endif
Generic algorithm superclass for image algs.
Create an image with Gaussian pixel values.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
Set/Get the extent of the whole output image.
static vtkImageGaussianSource * New()
~vtkImageGaussianSource() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.