VTK  9.2.6
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 =========================================================================*/
29 #ifndef vtkImageGaussianSource_h
30 #define vtkImageGaussianSource_h
31 
32 #include "vtkImageAlgorithm.h"
33 #include "vtkImagingSourcesModule.h" // For export macro
34 
35 class VTKIMAGINGSOURCES_EXPORT vtkImageGaussianSource : public vtkImageAlgorithm
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
45  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax);
46 
48 
51  vtkSetVector3Macro(Center, double);
52  vtkGetVector3Macro(Center, double);
54 
56 
59  vtkSetMacro(Maximum, double);
60  vtkGetMacro(Maximum, double);
62 
64 
67  vtkSetMacro(StandardDeviation, double);
68  vtkGetMacro(StandardDeviation, double);
70 
71 protected:
73  ~vtkImageGaussianSource() override = default;
74 
76  int WholeExtent[6];
77  double Center[3];
78  double Maximum;
79 
82 
83 private:
85  void operator=(const vtkImageGaussianSource&) = delete;
86 };
87 
88 #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.
~vtkImageGaussianSource() override=default
static vtkImageGaussianSource * New()
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:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.