VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
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
36
class
VTK_IMAGING_EXPORT
vtkImageNoiseSource
:
public
vtkImageAlgorithm
37
{
38
public
:
39
static
vtkImageNoiseSource
*
New
();
40
vtkTypeMacro(
vtkImageNoiseSource
,
vtkImageAlgorithm
);
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
:
62
vtkImageNoiseSource
();
63
~vtkImageNoiseSource
() {};
64
65
double
Minimum;
66
double
Maximum
;
67
int
WholeExtent[6];
68
69
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
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
Generated on Thu Mar 13 2014 08:10:16 for VTK by
1.8.1.2