VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
General
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 "vtkFiltersGeneralModule.h"
// For export macro
43
#include "
vtkPolyDataAlgorithm.h
"
44
45
class
vtkStructuredPoints
;
46
class
vtkDataArray
;
47
48
class
VTKFILTERSGENERAL_EXPORT
vtkSubPixelPositionEdgels
:
public
vtkPolyDataAlgorithm
49
{
50
public
:
51
static
vtkSubPixelPositionEdgels
*
New
();
52
vtkTypeMacro(
vtkSubPixelPositionEdgels
,
vtkPolyDataAlgorithm
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
56
57
void
SetGradMapsData(
vtkStructuredPoints
*gm);
58
vtkStructuredPoints
*GetGradMaps();
60
62
64
vtkSetMacro(TargetFlag,
int
);
65
vtkGetMacro(TargetFlag,
int
);
66
vtkBooleanMacro(TargetFlag,
int
);
67
vtkSetMacro(TargetValue,
double
);
68
vtkGetMacro(TargetValue,
double
);
70
71
protected
:
72
vtkSubPixelPositionEdgels
();
73
~
vtkSubPixelPositionEdgels
();
74
75
// Usual data generation method
76
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
77
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
78
79
void
Move(
int
xdim,
int
ydim,
int
zdim,
int
x,
int
y,
80
float
*img,
vtkDataArray
*inVecs,
81
double
*result,
int
z,
double
*aspect,
double
*resultNormal);
82
void
Move(
int
xdim,
int
ydim,
int
zdim,
int
x,
int
y,
83
double
*img,
vtkDataArray
*inVecs,
84
double
*result,
int
z,
double
*aspect,
double
*resultNormal);
85
// extension for target instead of maximum
86
int
TargetFlag
;
87
double
TargetValue
;
88
private
:
89
vtkSubPixelPositionEdgels
(
const
vtkSubPixelPositionEdgels
&);
// Not implemented.
90
void
operator=(
const
vtkSubPixelPositionEdgels
&);
// Not implemented.
91
};
92
93
#endif
Generated on Thu May 24 2012 22:22:16 for VTK by
1.8.1