OTB  10.0.0
Orfeo Toolbox
otbImageListSource.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 otbImageListSource_h
22 #define otbImageListSource_h
23 
24 #include "itkProcessObject.h"
25 #include "otbImageList.h"
26 
27 namespace otb
28 {
39 template <class TOutputImage>
40 class ITK_EXPORT ImageListSource : public itk::ProcessObject
41 {
42 public:
45  typedef itk::ProcessObject Superclass;
46  typedef itk::SmartPointer<Self> Pointer;
47  typedef itk::SmartPointer<const Self> ConstPointer;
48 
50  itkNewMacro(Self);
51 
53  itkTypeMacro(ImageListSource, itk::ProcessObject);
54 
56  typedef itk::DataObject::Pointer DataObjectPointer;
57 
59  typedef TOutputImage OutputImageType;
60  typedef typename OutputImageType::Pointer OutputImagePointerType;
64 
67 
68 protected:
71 
73  ~ImageListSource() override
74  {
75  }
76 
78  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
79 
80 private:
81  ImageListSource(const Self&) = delete;
82  void operator=(const Self&) = delete;
83 };
84 } // End namespace otb
85 
86 #ifndef OTB_MANUAL_INSTANTIATION
87 #include "otbImageListSource.hxx"
88 #endif
89 #endif
Base class for all the filters producing an otbImageList.
ImageList< OutputImageType > OutputImageListType
itk::SmartPointer< Self > Pointer
itk::DataObject::Pointer DataObjectPointer
virtual OutputImageListType * GetOutput(void)
void operator=(const Self &)=delete
TOutputImage OutputImageType
ImageListSource(const Self &)=delete
OutputImageType::Pointer OutputImagePointerType
void PrintSelf(std::ostream &os, itk::Indent indent) const override
itk::ProcessObject Superclass
OutputImageListType::ConstPointer OutputImageListConstPointerType
itk::SmartPointer< const Self > ConstPointer
OutputImageListType::Pointer OutputImageListPointerType
This class represent a list of images.
Definition: otbImageList.h:40
itk::SmartPointer< const Self > ConstPointer
Definition: otbImageList.h:46
itk::SmartPointer< Self > Pointer
Definition: otbImageList.h:45
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.