OTB  6.7.0
Orfeo Toolbox
otbVectorImageToImageListFilter.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 otbVectorImageToImageListFilter_h
22 #define otbVectorImageToImageListFilter_h
23 
25 
26 namespace otb
27 {
43 template <class TVectorImageType, class TImageList>
45  : public ImageToImageListFilter<TVectorImageType, typename TImageList::ImageType>
46 {
47 public:
50  typedef ImageToImageListFilter<TVectorImageType,
51  typename TImageList::ImageType> Superclass;
54 
56  itkNewMacro(Self);
57 
60 
62  typedef TVectorImageType InputVectorImageType;
63  typedef typename InputVectorImageType::Pointer InputVectorImagePointerType;
64  typedef TImageList OutputImageListType;
65  typedef typename OutputImageListType::Pointer OutputImageListPointerType;
66  typedef typename OutputImageListType::ImageType OutputImageType;
67  typedef typename OutputImageType::Pointer OutputImagePointerType;
68 
70  void GenerateInputRequestedRegion(void) override;
71 
73  void GenerateOutputInformation(void) override;
74 
75 protected:
76 
78  void GenerateData(void) override;
79 
82 
85 
87  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
88 
89 private:
90  VectorImageToImageListFilter(const Self &) = delete;
91  void operator =(const Self&) = delete;
92 };
93 } // End namespace otb
94 #ifndef OTB_MANUAL_INSTANTIATION
96 #endif
97 
98 #endif
OutputImageListType::Pointer OutputImageListPointerType
This class aims at converting a multi-band image to a list of scalar images.
itk::SmartPointer< const Self > ConstPointer
Base class for all the filters taking an image input to produce an image list.
ImageToImageListFilter< TVectorImageType, typename TImageList::ImageType > Superclass
InputVectorImageType::Pointer InputVectorImagePointerType
OutputImageListType::ImageType OutputImageType