OTB  6.7.0
Orfeo Toolbox
otbWrapperInputImageListParameter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 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 otbWrapperInputImageListParameter_h
22 #define otbWrapperInputImageListParameter_h
23 
24 
27 
28 
29 namespace otb
30 {
31 
32 
33 namespace Wrapper
34 {
35 
41 class OTBApplicationEngine_EXPORT InputImageListParameter :
42  public ParameterList< InputImageParameter >
43 {
44 public:
50 
52  itkNewMacro( Self );
53 
55  itkTypeMacro( InputImageListParameter, ParameterList );
56 
60  const FloatVectorImageListType * GetImageList() const;
61  FloatVectorImageListType * GetImageList();
63 
65  const FloatVectorImageType * GetNthImage( std::size_t ) const;
66  FloatVectorImageType * GetNthImage( std::size_t );
68 
70  void SetNthImage( std::size_t, ImageBaseType * );
71 
73  void SetImageList( FloatVectorImageListType * );
74 
76  void AddImage( ImageBaseType * );
77 
79  void ClearValue() override;
80 
83  Role GetDirection() const override;
84 
87  const std::string & GetFilenameFilter() const override;
88 
89  ParameterType GetType() const override
90  {
92  }
93 
94 protected:
97 
99  ~InputImageListParameter() override;
100 
101 //
102 // Private methods.
103 private:
104  InputImageListParameter( const Parameter & ) = delete;
105  void operator = ( const Parameter & ) = delete;
106 
108  FromImage( ImageBaseType * );
109 
112 
113 //
114 // Private attributes
115 private:
117 
118 
119 }; // End class InputImage Parameter
120 
121 } // End namespace Wrapper
122 
123 } // End namespace otb
124 
125 #endif
Creation of an "otb" vector image which contains metadata.
This class represent a parameter for the wrapper framework This class is a high level class represent...
ParameterList< InputImageParameter > Superclass
This class represents a InputImage parameter.
virtual const std::string & GetFilenameFilter() const
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >...
Definition: otbObjectList.h:40
This class represents a list of InputImage parameter.
virtual Role GetDirection() const =0