Orfeo Toolbox  3.16
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 
22 
23 namespace otb
24 {
29 template <class TPointSet, class TDeformationField>
31  : public PointSetToDeformationFieldGenerator<TPointSet, TDeformationField>
32 {
33 public:
39 
41  itkNewMacro(Self);
42 
45 
47  typedef typename Superclass::PointSetType PointSetType;
51  typedef typename Superclass::IndexType IndexType;
52  typedef typename DeformationFieldType::PixelType PixelType;
53  typedef typename Superclass::ValueType ValueType;
54  typedef typename Superclass::PointType PointType;
57 
58  itkSetMacro(NumberOfPoints, unsigned int);
59  itkGetMacro(NumberOfPoints, unsigned int);
60 
61 protected:
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
80 #endif
81 
82 #endif

Generated at Sun May 19 2013 00:41:58 for Orfeo Toolbox with doxygen 1.8.3.1