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