OTB  10.0.0
Orfeo Toolbox
otbGeometricMomentPathFunction.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2024 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 otbGeometricMomentPathFunction_h
22 #define otbGeometricMomentPathFunction_h
23 
24 #include "otbPathFunction.h"
25 
26 namespace otb
27 {
28 
38 template <class TInputPath, class TOutput, class TPrecision = double>
39 class ITK_EXPORT GeometricMomentPathFunction : public PathFunction<TInputPath, TOutput>
40 {
41 public:
45  typedef itk::SmartPointer<Self> Pointer;
46  typedef itk::SmartPointer<const Self> ConstPointer;
47 
50 
52  typedef typename Superclass::InputPathType PathType;
53  typedef typename Superclass::InputPathConstPointer PathConstPointer;
54 
57 
59  typedef TPrecision PrecisionType;
60 
61 protected:
64  {
65  }
66  void PrintSelf(std::ostream& os, itk::Indent indent) const override
67  {
68  Superclass::PrintSelf(os, indent);
69  }
70 
71 private:
73  void operator=(const Self&) = delete;
74 };
75 
76 } // namespace otb
77 
78 #endif
Virtual class for the Geometric moments for an path function.
GeometricMomentPathFunction(const Self &)=delete
PathFunction< TInputPath, TOutput > Superclass
void PrintSelf(std::ostream &os, itk::Indent indent) const override
itk::SmartPointer< const Self > ConstPointer
Superclass::InputPathConstPointer PathConstPointer
void operator=(const Self &)=delete
Evaluates a function of an image over a specific path.
Superclass::OutputType OutputType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.