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 =========================================================================*/
29 #ifndef vtkImageGaussianSource_h
30 #define vtkImageGaussianSource_h
31 
32 #include "vtkImagingSourcesModule.h" // For export macro
33 #include "vtkImageAlgorithm.h"
34 
35 class VTKIMAGINGSOURCES_EXPORT vtkImageGaussianSource : public vtkImageAlgorithm
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
45  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
46  int zMin, int zMax);
47 
49 
52  vtkSetVector3Macro(Center, double);
53  vtkGetVector3Macro(Center, double);
55 
57 
60  vtkSetMacro(Maximum, double);
61  vtkGetMacro(Maximum, double);
63 
65 
68  vtkSetMacro(StandardDeviation, double);
69  vtkGetMacro(StandardDeviation, double);
71 
72 protected:
75 
77  int WholeExtent[6];
78  double Center[3];
79  double Maximum;
80 
83 private:
84  vtkImageGaussianSource(const vtkImageGaussianSource&) VTK_DELETE_FUNCTION;
85  void operator=(const vtkImageGaussianSource&) VTK_DELETE_FUNCTION;
86 };
87 
88 
89 #endif
vtkImageGaussianSource::StandardDeviation
double StandardDeviation
Definition: vtkImageGaussianSource.h:76
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.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkImageAlgorithm.h
vtkImageGaussianSource::~vtkImageGaussianSource
~vtkImageGaussianSource()
Definition: vtkImageGaussianSource.h:74
vtkImageGaussianSource::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called in response to a REQUEST_DATA request from the executive.
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:41
vtkImageGaussianSource::vtkImageGaussianSource
vtkImageGaussianSource()
vtkImageGaussianSource::Maximum
double Maximum
Definition: vtkImageGaussianSource.h:79
vtkImageGaussianSource
Create an image with Gaussian pixel values.
Definition: vtkImageGaussianSource.h:36
vtkImageGaussianSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkImageGaussianSource::New
static vtkImageGaussianSource * New()
vtkImageGaussianSource::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...