VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageGradient.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageGradient.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
=========================================================================*/
31
#ifndef __vtkImageGradient_h
32
#define __vtkImageGradient_h
33
34
#include "
vtkThreadedImageAlgorithm.h
"
35
36
class
VTK_IMAGING_EXPORT
vtkImageGradient
:
public
vtkThreadedImageAlgorithm
37
{
38
public
:
39
static
vtkImageGradient
*
New
();
40
vtkTypeMacro(
vtkImageGradient
,
vtkThreadedImageAlgorithm
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
45
vtkSetClampMacro(Dimensionality,
int
,2,3);
46
vtkGetMacro(Dimensionality,
int
);
48
50
54
vtkSetMacro(HandleBoundaries,
int
);
55
vtkGetMacro(HandleBoundaries,
int
);
56
vtkBooleanMacro(HandleBoundaries,
int
);
58
59
protected
:
60
vtkImageGradient
();
61
~vtkImageGradient
() {};
62
63
int
HandleBoundaries;
64
int
Dimensionality
;
65
66
virtual
int
RequestInformation
(
vtkInformation
*,
67
vtkInformationVector
**,
68
vtkInformationVector
*);
69
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
70
vtkInformationVector
**,
71
vtkInformationVector
*);
72
virtual
int
RequestData
(
vtkInformation
*,
73
vtkInformationVector
**,
74
vtkInformationVector
*);
75
76
void
ThreadedRequestData
(
vtkInformation
*,
77
vtkInformationVector
**,
78
vtkInformationVector
*,
79
vtkImageData
*** inData,
80
vtkImageData
** outData,
81
int
outExt[6],
82
int
threadId);
83
private
:
84
vtkImageGradient
(
const
vtkImageGradient
&);
// Not implemented.
85
void
operator=(
const
vtkImageGradient
&);
// Not implemented.
86
};
87
88
#endif
89
90
91
Generated on Sun Sep 9 2012 13:03:40 for VTK by
1.8.1.2