OTB  9.0.0
Orfeo Toolbox
otbVectorImageToImageListFilter.h
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 otbVectorImageToImageListFilter_h
22 #define otbVectorImageToImageListFilter_h
23 
25 
26 namespace otb
27 {
43 template <class TVectorImageType, class TImageList>
44 class ITK_EXPORT VectorImageToImageListFilter : public ImageToImageListFilter<TVectorImageType, typename TImageList::ImageType>
45 {
46 public:
50  typedef itk::SmartPointer<Self> Pointer;
51  typedef itk::SmartPointer<const Self> ConstPointer;
52 
54  itkNewMacro(Self);
55 
58 
60  typedef TVectorImageType InputVectorImageType;
61  typedef typename InputVectorImageType::Pointer InputVectorImagePointerType;
62  typedef TImageList OutputImageListType;
63  typedef typename OutputImageListType::Pointer OutputImageListPointerType;
64  typedef typename OutputImageListType::ImageType OutputImageType;
65  typedef typename OutputImageType::Pointer OutputImagePointerType;
66 
68  void GenerateInputRequestedRegion(void) override;
69 
71  void GenerateOutputInformation(void) override;
72 
73 protected:
75  void GenerateData(void) override;
76 
79 
82  {
83  }
84 
86  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
87 
88 private:
89  VectorImageToImageListFilter(const Self&) = delete;
90  void operator=(const Self&) = delete;
91 };
92 } // End namespace otb
93 #ifndef OTB_MANUAL_INSTANTIATION
95 #endif
96 
97 #endif
otb::VectorImageToImageListFilter::OutputImagePointerType
OutputImageType::Pointer OutputImagePointerType
Definition: otbVectorImageToImageListFilter.h:65
otbImageToImageListFilter.h
otb::VectorImageToImageListFilter::InputVectorImagePointerType
InputVectorImageType::Pointer InputVectorImagePointerType
Definition: otbVectorImageToImageListFilter.h:61
otb::VectorImageToImageListFilter::OutputImageType
OutputImageListType::ImageType OutputImageType
Definition: otbVectorImageToImageListFilter.h:64
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::VectorImageToImageListFilter::InputVectorImageType
TVectorImageType InputVectorImageType
Definition: otbVectorImageToImageListFilter.h:57
otb::VectorImageToImageListFilter::OutputImageListType
TImageList OutputImageListType
Definition: otbVectorImageToImageListFilter.h:62
otb::VectorImageToImageListFilter::VectorImageToImageListFilter
VectorImageToImageListFilter()
Definition: otbVectorImageToImageListFilter.h:78
otb::VectorImageToImageListFilter::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbVectorImageToImageListFilter.h:51
otb::VectorImageToImageListFilter::OutputImageListPointerType
OutputImageListType::Pointer OutputImageListPointerType
Definition: otbVectorImageToImageListFilter.h:63
otb::VectorImageToImageListFilter::~VectorImageToImageListFilter
~VectorImageToImageListFilter() override
Definition: otbVectorImageToImageListFilter.h:81
otb::VectorImageToImageListFilter::Self
VectorImageToImageListFilter Self
Definition: otbVectorImageToImageListFilter.h:48
otb::VectorImageToImageListFilter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbVectorImageToImageListFilter.h:50
otb::VectorImageToImageListFilter
This class aims at converting a multi-band image to a list of scalar images.
Definition: otbVectorImageToImageListFilter.h:44
otbVectorImageToImageListFilter.hxx
otb::ImageToImageListFilter
Base class for all the filters taking an image input to produce an image list.
Definition: otbImageToImageListFilter.h:39
otb::VectorImageToImageListFilter::Superclass
ImageToImageListFilter< TVectorImageType, typename TImageList::ImageType > Superclass
Definition: otbVectorImageToImageListFilter.h:49