Orfeo Toolbox  4.0
otbPointSetSource.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 
19 #ifndef __otbPointSetSource_h
20 #define __otbPointSetSource_h
21 
22 
23 #include "itkProcessObject.h"
24 
25 namespace otb
26 {
39 template <class TOutputPointSet>
40 class ITK_EXPORT PointSetSource : public itk::ProcessObject
41 {
42 public:
48 
50  itkNewMacro(Self);
51 
54 
57  typedef TOutputPointSet OutputPointSetType;
58  typedef typename OutputPointSetType::Pointer OutputPointSetPointer;
59  typedef typename OutputPointSetType::PointsContainer PointsContainerType;
60  typedef typename OutputPointSetType::PointDataContainer PointDataContainerType;
61 
63  OutputPointSetType * GetOutput(void);
64  OutputPointSetType * GetOutput(unsigned int idx);
65 
69  void SetOutput(OutputPointSetType *output);
70 
105  virtual void GraftOutput(itk::DataObject *output);
106  virtual void GraftNthOutput(unsigned int idx, itk::DataObject *output);
107 
121  virtual DataObjectPointer MakeOutput(unsigned int idx);
122 
123 protected:
124  PointSetSource();
125  virtual ~PointSetSource() {}
126  void PrintSelf(std::ostream& os, itk::Indent indent) const;
127 
131  void GenerateInputRequestedRegion();
132 
133 private:
134  PointSetSource(const Self &); //purposely not implemented
135  void operator =(const Self&); //purposely not implemented
136 
141 };
142 
143 } // end namespace otb
144 
145 #ifndef OTB_MANUAL_INSTANTIATION
146 #include "otbPointSetSource.txx"
147 #endif
148 
149 #endif

Generated at Sat Mar 8 2014 16:13:16 for Orfeo Toolbox with doxygen 1.8.3.1