VTK  9.0.20210801
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 =========================================================================*/
23 #ifndef vtkImageGaussianSource_h
24 #define vtkImageGaussianSource_h
25 
26 #include "vtkImageAlgorithm.h"
27 #include "vtkImagingSourcesModule.h" // For export macro
28 
29 class VTKIMAGINGSOURCES_EXPORT vtkImageGaussianSource : public vtkImageAlgorithm
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
39  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax);
40 
42 
45  vtkSetVector3Macro(Center, double);
46  vtkGetVector3Macro(Center, double);
48 
50 
53  vtkSetMacro(Maximum, double);
54  vtkGetMacro(Maximum, double);
56 
58 
61  vtkSetMacro(StandardDeviation, double);
62  vtkGetMacro(StandardDeviation, double);
64 
65 protected:
67  ~vtkImageGaussianSource() override = default;
68 
70  int WholeExtent[6];
71  double Center[3];
72  double Maximum;
73 
76 
77 private:
79  void operator=(const vtkImageGaussianSource&) = delete;
80 };
81 
82 #endif
vtkImageGaussianSource::StandardDeviation
double StandardDeviation
Definition: vtkImageGaussianSource.h:69
vtkImageGaussianSource::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageGaussianSource::SetWholeExtent
void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
Set/Get the extent of the whole output image.
vtkImageGaussianSource::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:38
vtkImageGaussianSource::vtkImageGaussianSource
vtkImageGaussianSource()
vtkImageGaussianSource::Maximum
double Maximum
Definition: vtkImageGaussianSource.h:72
vtkImageGaussianSource
Create an image with Gaussian pixel values.
Definition: vtkImageGaussianSource.h:30
vtkImageGaussianSource::~vtkImageGaussianSource
~vtkImageGaussianSource() override=default
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkImageGaussianSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:74
vtkImageGaussianSource::New
static vtkImageGaussianSource * New()