VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageGradientMagnitude.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageGradientMagnitude.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
=========================================================================*/
33
#ifndef __vtkImageGradientMagnitude_h
34
#define __vtkImageGradientMagnitude_h
35
36
37
#include "
vtkThreadedImageAlgorithm.h
"
38
39
class
VTK_IMAGING_EXPORT
vtkImageGradientMagnitude
:
public
vtkThreadedImageAlgorithm
40
{
41
public
:
42
static
vtkImageGradientMagnitude
*
New
();
43
vtkTypeMacro(
vtkImageGradientMagnitude
,
vtkThreadedImageAlgorithm
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
47
49
vtkSetMacro(HandleBoundaries,
int
);
50
vtkGetMacro(HandleBoundaries,
int
);
51
vtkBooleanMacro(HandleBoundaries,
int
);
53
55
56
vtkSetClampMacro(Dimensionality,
int
,2,3);
57
vtkGetMacro(Dimensionality,
int
);
59
60
protected
:
61
vtkImageGradientMagnitude
();
62
~vtkImageGradientMagnitude
() {};
63
64
int
HandleBoundaries;
65
int
Dimensionality
;
66
67
virtual
int
RequestInformation
(
vtkInformation
*,
68
vtkInformationVector
**,
69
vtkInformationVector
*);
70
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
71
vtkInformationVector
**,
72
vtkInformationVector
*);
73
74
void
ThreadedExecute
(
vtkImageData
*inData,
vtkImageData
*outData,
75
int
extent
[6],
int
id
);
76
private
:
77
vtkImageGradientMagnitude
(
const
vtkImageGradientMagnitude
&);
// Not implemented.
78
void
operator=(
const
vtkImageGradientMagnitude
&);
// Not implemented.
79
};
80
81
#endif
82
83
84
Generated on Thu Mar 13 2014 08:10:16 for VTK by
1.8.1.2