Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
DisparityMap
otbNNearestPointsLinearInterpolateDeformationFieldGenerator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ORFEO Toolbox
4
Language: C++
5
Date: $Date$
6
Version: $Revision$
7
8
9
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10
See OTBCopyright.txt for details.
11
12
13
This software is distributed WITHOUT ANY WARRANTY; without even
14
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
PURPOSE. See the above copyright notices for more information.
16
17
=========================================================================*/
18
#ifndef __otbNNearestPointsLinearInterpolateDeformationFieldGenerator_h
19
#define __otbNNearestPointsLinearInterpolateDeformationFieldGenerator_h
20
21
#include "
otbPointSetToDeformationFieldGenerator.h
"
22
23
namespace
otb
24
{
29
template
<
class
TPo
int
Set,
class
TDeformationField>
30
class
ITK_EXPORT
NNearestPointsLinearInterpolateDeformationFieldGenerator
31
:
public
PointSetToDeformationFieldGenerator
<TPointSet, TDeformationField>
32
{
33
public
:
35
typedef
NNearestPointsLinearInterpolateDeformationFieldGenerator
Self
;
36
typedef
PointSetToDeformationFieldGenerator<TPointSet, TDeformationField>
Superclass
;
37
typedef
itk::SmartPointer<Self>
Pointer
;
38
typedef
itk::SmartPointer<const Self>
ConstPointer
;
39
41
itkNewMacro(
Self
);
42
44
itkTypeMacro(
NNearestPointsLinearInterpolateDeformationFieldGenerator
,
PointSetToDeformationFieldGenerator
);
45
47
typedef
typename
Superclass::PointSetType
PointSetType
;
48
typedef
typename
Superclass::PointSetPointerType
PointSetPointerType
;
49
typedef
typename
Superclass::DeformationFieldType
DeformationFieldType
;
50
typedef
typename
Superclass::DeformationFieldPointerType
DeformationFieldPointerType
;
51
typedef
typename
Superclass::IndexType
IndexType
;
52
typedef
typename
DeformationFieldType::PixelType
PixelType
;
53
typedef
typename
Superclass::ValueType
ValueType
;
54
typedef
typename
Superclass::PointType
PointType
;
55
typedef
typename
Superclass::IndexVectorType
IndexVectorType
;
56
typedef
typename
Superclass::DistanceVectorType
DistanceVectorType
;
57
58
itkSetMacro(NumberOfPoints,
unsigned
int
);
59
itkGetMacro(NumberOfPoints,
unsigned
int
);
60
61
protected
:
63
NNearestPointsLinearInterpolateDeformationFieldGenerator
() {};
65
virtual
~NNearestPointsLinearInterpolateDeformationFieldGenerator
() {}
67
virtual
void
PrintSelf(std::ostream& os,
itk::Indent
indent)
const
;
69
virtual
void
GenerateData();
70
71
private
:
72
NNearestPointsLinearInterpolateDeformationFieldGenerator
(
const
Self &);
//purposely not implemented
73
void
operator =(
const
Self&);
//purposely not implemented
74
75
unsigned
int
m_NumberOfPoints
;
76
};
77
}
// End namespace otb
78
#ifndef OTB_MANUAL_INSTANTIATION
79
#include "
otbNNearestPointsLinearInterpolateDeformationFieldGenerator.txx
"
80
#endif
81
82
#endif
Generated at Sun May 19 2013 00:41:58 for
Orfeo Toolbox
with
doxygen 1.8.3.1