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:
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 
vtkImageNoiseSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkgl::data
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: vtkgl.h:11339
vtkImageNoiseSource::Maximum
double Maximum
Definition: vtkImageNoiseSource.h:67
vtkImageNoiseSource::vtkImageNoiseSource
vtkImageNoiseSource()
vtkImageNoiseSource::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkImageNoiseSource::SetWholeExtent
void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkImageNoiseSource::New
static vtkImageNoiseSource * New()
vtkImageNoiseSource
Create an image filled with noise.
Definition: vtkImageNoiseSource.h:38
vtkImageNoiseSource::~vtkImageNoiseSource
~vtkImageNoiseSource()
Definition: vtkImageNoiseSource.h:64
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
VTKIMAGINGSOURCES_EXPORT
#define VTKIMAGINGSOURCES_EXPORT
Definition: vtkImagingSourcesModule.h:15
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkImageNoiseSource::Minimum
double Minimum
Definition: vtkImageNoiseSource.h:66
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkImageNoiseSource::SetWholeExtent
void SetWholeExtent(const int ext[6])
Definition: vtkImageNoiseSource.h:56
vtkImagingSourcesModule.h
vtkImageNoiseSource::ExecuteDataWithInformation
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)