VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkSubPixelPositionEdgels.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSubPixelPositionEdgels.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
=========================================================================*/
39
#ifndef __vtkSubPixelPositionEdgels_h
40
#define __vtkSubPixelPositionEdgels_h
41
42
#include "
vtkPolyDataAlgorithm.h
"
43
44
class
vtkStructuredPoints
;
45
class
vtkDataArray
;
46
47
class
VTK_GRAPHICS_EXPORT
vtkSubPixelPositionEdgels
:
public
vtkPolyDataAlgorithm
48
{
49
public
:
50
static
vtkSubPixelPositionEdgels
*
New
();
51
vtkTypeMacro(
vtkSubPixelPositionEdgels
,
vtkPolyDataAlgorithm
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent);
53
55
56
void
SetGradMaps(
vtkStructuredPoints
*gm);
57
vtkStructuredPoints
*GetGradMaps();
59
61
63
vtkSetMacro(TargetFlag,
int
);
64
vtkGetMacro(TargetFlag,
int
);
65
vtkBooleanMacro(TargetFlag,
int
);
66
vtkSetMacro(TargetValue,
double
);
67
vtkGetMacro(TargetValue,
double
);
69
70
protected
:
71
vtkSubPixelPositionEdgels
();
72
~
vtkSubPixelPositionEdgels
();
73
74
// Usual data generation method
75
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
76
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
77
78
void
Move(
int
xdim,
int
ydim,
int
zdim,
int
x,
int
y,
79
float
*img,
vtkDataArray
*inVecs,
80
double
*result,
int
z,
double
*aspect,
double
*resultNormal);
81
void
Move(
int
xdim,
int
ydim,
int
zdim,
int
x,
int
y,
82
double
*img,
vtkDataArray
*inVecs,
83
double
*result,
int
z,
double
*aspect,
double
*resultNormal);
84
// extension for target instead of maximum
85
int
TargetFlag
;
86
double
TargetValue
;
87
private
:
88
vtkSubPixelPositionEdgels
(
const
vtkSubPixelPositionEdgels
&);
// Not implemented.
89
void
operator=(
const
vtkSubPixelPositionEdgels
&);
// Not implemented.
90
};
91
92
#endif
Generated on Thu Mar 13 2014 08:10:04 for VTK by
1.8.1.2