VTK
vtkImageNoiseSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageNoiseSource.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 __vtkImageNoiseSource_h
30 #define __vtkImageNoiseSource_h
31 
32 
33 #include "vtkImageAlgorithm.h"
34 
35 
37 {
38 public:
39  static vtkImageNoiseSource *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  vtkSetMacro(Minimum, double);
46  vtkGetMacro(Minimum, double);
47  vtkSetMacro(Maximum, double);
48  vtkGetMacro(Maximum, double);
50 
52 
53  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
54  int zMin, int zMax);
55  void SetWholeExtent(const int ext[6])
56  {
57  this->SetWholeExtent(ext[0], ext[1], ext[2], ext[3], ext[4], ext[5]);
58  }
60 
61 protected:
64 
65  double Minimum;
66  double Maximum;
67  int WholeExtent[6];
68 
70  virtual void ExecuteData(vtkDataObject *data);
71 private:
72  vtkImageNoiseSource(const vtkImageNoiseSource&); // Not implemented.
73  void operator=(const vtkImageNoiseSource&); // Not implemented.
74 };
75 
76 
77 #endif
78 
79 
virtual void ExecuteData(vtkDataObject *output)
Store vtkAlgorithm input/output information.
void SetWholeExtent(const int ext[6])
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_IMAGING_EXPORT
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Create an image filled with noise.
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:70