VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageRectilinearWipe.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageRectilinearWipe.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
=========================================================================*/
49
#ifndef __vtkImageRectilinearWipe_h
50
#define __vtkImageRectilinearWipe_h
51
52
#include "
vtkThreadedImageAlgorithm.h
"
53
54
#define VTK_WIPE_QUAD 0
55
#define VTK_WIPE_HORIZONTAL 1
56
#define VTK_WIPE_VERTICAL 2
57
#define VTK_WIPE_LOWER_LEFT 3
58
#define VTK_WIPE_LOWER_RIGHT 4
59
#define VTK_WIPE_UPPER_LEFT 5
60
#define VTK_WIPE_UPPER_RIGHT 6
61
62
class
VTK_IMAGING_EXPORT
vtkImageRectilinearWipe
:
public
vtkThreadedImageAlgorithm
63
{
64
public
:
65
static
vtkImageRectilinearWipe
*
New
();
66
vtkTypeMacro(
vtkImageRectilinearWipe
,
vtkThreadedImageAlgorithm
);
67
void
PrintSelf
(ostream& os,
vtkIndent
indent);
68
70
72
vtkSetVector2Macro(Position,
int
);
73
vtkGetVectorMacro(Position,
int
,2);
75
77
79
vtkSetVector2Macro(Axis,
int
);
80
vtkGetVectorMacro(Axis,
int
,2);
82
84
85
virtual
void
SetInput1
(
vtkDataObject
*in) { this->
SetInput
(0,in); }
86
virtual
void
SetInput2
(
vtkDataObject
*in) { this->
SetInput
(1,in); }
88
90
104
vtkSetClampMacro(Wipe,
int
,
VTK_WIPE_QUAD
,
VTK_WIPE_UPPER_RIGHT
);
105
vtkGetMacro(Wipe,
int
);
106
void
SetWipeToQuad
()
107
{this->SetWipe(
VTK_WIPE_QUAD
);}
108
void
SetWipeToHorizontal
()
109
{this->SetWipe(
VTK_WIPE_HORIZONTAL
);}
110
void
SetWipeToVertical
()
111
{this->SetWipe(
VTK_WIPE_VERTICAL
);}
112
void
SetWipeToLowerLeft
()
113
{this->SetWipe(
VTK_WIPE_LOWER_LEFT
);}
114
void
SetWipeToLowerRight
()
115
{this->SetWipe(
VTK_WIPE_LOWER_RIGHT
);}
116
void
SetWipeToUpperLeft
()
117
{this->SetWipe(
VTK_WIPE_UPPER_LEFT
);}
118
void
SetWipeToUpperRight
()
119
{this->SetWipe(
VTK_WIPE_UPPER_RIGHT
);}
121
122
protected
:
123
vtkImageRectilinearWipe
();
124
~vtkImageRectilinearWipe
() {};
125
126
virtual
void
ThreadedRequestData
(
vtkInformation
*request,
127
vtkInformationVector
**inputVector,
128
vtkInformationVector
*outputVector,
129
vtkImageData
***inData,
130
vtkImageData
**outData,
131
int
extent
[6],
int
threadId);
132
133
int
Position[2];
134
int
Wipe
;
135
int
Axis[2];
136
137
private
:
138
vtkImageRectilinearWipe
(
const
vtkImageRectilinearWipe
&);
// Not implemented.
139
void
operator=(
const
vtkImageRectilinearWipe
&);
// Not implemented.
140
};
141
142
#endif
Generated on Fri Aug 2 2013 12:19:59 for VTK by
1.8.4