OTB  9.0.0
Orfeo Toolbox
otbPointSetFunction.hxx
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef otbPointSetFunction_hxx
22 #define otbPointSetFunction_hxx
23 
24 #include "otbPointSetFunction.h"
25 
26 #include "itkNumericTraits.h"
27 #include "itkConstNeighborhoodIterator.h"
28 
29 namespace otb
30 {
31 
35 template <class TPointSet, class TOutput>
37 {
38  m_PointSet = PointSetType::New();
39 }
40 
44 template <class TPointSet, class TOutput>
45 void PointSetFunction<TPointSet, TOutput>::PrintSelf(std::ostream& os, itk::Indent indent) const
46 {
47  this->Superclass::PrintSelf(os, indent);
48 }
49 
53 // template <class TPointSet, class TOutput >
54 // void
55 // PointSetFunction< TPointSet, TOutput>
56 // ::SetPointSet(PointSetType* PointSet) const
57 // {
58 // m_PointSet = PointSet;
59 // }
60 
64 // template <class TPointSet, class TOutput >
65 // const
66 // typename PointSetFunction< TPointSet, TOutput>
67 // ::PointSetType *
68 // PointSetFunction< TPointSet, TOutput>
69 // ::GetPointSet() const
70 // {
71 // return m_PointSet;
72 // }
73 } // end namespace otb
74 
75 #endif
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otbPointSetFunction.h
otb::PointSetFunction::PrintSelf
void PrintSelf(std::ostream &os, itk::Indent indent) const override
Definition: otbPointSetFunction.hxx:45
otb::PointSetFunction::PointSetFunction
PointSetFunction()
Definition: otbPointSetFunction.hxx:36