VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageSinusoidSource.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageSinusoidSource.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
=========================================================================*/
25
#ifndef __vtkImageSinusoidSource_h
26
#define __vtkImageSinusoidSource_h
27
28
#include "
vtkImageAlgorithm.h
"
29
30
class
VTK_IMAGING_EXPORT
vtkImageSinusoidSource
:
public
vtkImageAlgorithm
31
{
32
public
:
33
static
vtkImageSinusoidSource
*
New
();
34
vtkTypeMacro(
vtkImageSinusoidSource
,
vtkImageAlgorithm
);
35
void
PrintSelf
(ostream& os,
vtkIndent
indent);
36
38
39
void
SetWholeExtent(
int
xMinx,
int
xMax,
int
yMin,
int
yMax,
40
int
zMin,
int
zMax);
42
44
46
void
SetDirection(
double
,
double
,
double
);
47
void
SetDirection(
double
dir
[3]);
48
vtkGetVector3Macro(Direction,
double
);
50
52
53
vtkSetMacro(Period,
double
);
54
vtkGetMacro(Period,
double
);
56
58
59
vtkSetMacro(Phase,
double
);
60
vtkGetMacro(Phase,
double
);
62
64
65
vtkSetMacro(Amplitude,
double
);
66
vtkGetMacro(Amplitude,
double
);
68
69
protected
:
70
vtkImageSinusoidSource
();
71
~vtkImageSinusoidSource
() {};
72
73
int
WholeExtent[6];
74
double
Direction[3];
75
double
Period
;
76
double
Phase
;
77
double
Amplitude
;
78
79
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
80
virtual
void
ExecuteData
(
vtkDataObject
*
data
);
81
private
:
82
vtkImageSinusoidSource
(
const
vtkImageSinusoidSource
&);
// Not implemented.
83
void
operator=(
const
vtkImageSinusoidSource
&);
// Not implemented.
84
};
85
86
87
#endif
88
89
90
Generated on Wed May 30 2012 13:22:14 for VTK by
1.8.1