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 "vtkImagingSourcesModule.h" // For export macro
34 #include "vtkImageAlgorithm.h"
35 
36 
38 {
39 public:
40  static vtkImageNoiseSource *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  vtkSetMacro(Minimum, double);
47  vtkGetMacro(Minimum, double);
48  vtkSetMacro(Maximum, double);
49  vtkGetMacro(Maximum, double);
51 
53 
54  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
55  int zMin, int zMax);
56  void SetWholeExtent(const int ext[6])
57  {
58  this->SetWholeExtent(ext[0], ext[1], ext[2], ext[3], ext[4], ext[5]);
59  }
61 
62 protected:
65 
66  double Minimum;
67  double Maximum;
68  int WholeExtent[6];
69 
72 private:
73  vtkImageNoiseSource(const vtkImageNoiseSource&); // Not implemented.
74  void operator=(const vtkImageNoiseSource&); // Not implemented.
75 };
76 
77 
78 #endif
79 
80 
Store vtkAlgorithm input/output information.
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
void SetWholeExtent(const int ext[6])
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Create an image filled with noise.
#define VTKIMAGINGSOURCES_EXPORT
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:64