OTB  9.0.0
Orfeo Toolbox
otbVectorDataToSpecificDescriptionFilterBase.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 otbVectorDataToSpecificDescriptionFilterBase_h
22 #define otbVectorDataToSpecificDescriptionFilterBase_h
23 
25 
26 namespace otb
27 {
45 template <class TVectorData>
46 class ITK_EXPORT VectorDataToSpecificDescriptionFilterBase : public VectorDataToVectorDataFilter<TVectorData, TVectorData>
47 {
48 public:
52  typedef itk::SmartPointer<Self> Pointer;
53  typedef itk::SmartPointer<const Self> ConstPointer;
54 
56  itkNewMacro(Self);
57 
60 
62  typedef TVectorData VectorDataType;
63  typedef typename VectorDataType::Pointer VectorDataPointer;
64  typedef typename VectorDataType::DataNodeType DataNodeType;
65 
66  typedef itk::DataObject::Pointer DataObjectPointer;
67  typedef itk::DataObject DataObject;
68 
70  virtual void AddSupport(const itk::DataObject* support, unsigned int idx);
71  const itk::DataObject* GetSupport(unsigned int idx);
73 
74 protected:
77 
80  {
81  }
82 
84  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
85 
86 private:
87  VectorDataToSpecificDescriptionFilterBase(const Self&) = delete;
88  void operator=(const Self&) = delete;
89 };
90 
91 } // end namespace otb
92 
93 #ifndef OTB_MANUAL_INSTANTIATION
95 #endif
96 
97 #endif
otb::VectorDataToSpecificDescriptionFilterBase::DataNodeType
VectorDataType::DataNodeType DataNodeType
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:64
otb::VectorDataToSpecificDescriptionFilterBase::Superclass
VectorDataToVectorDataFilter< TVectorData, TVectorData > Superclass
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:51
otbVectorDataToVectorDataFilter.h
otb::VectorDataToSpecificDescriptionFilterBase::~VectorDataToSpecificDescriptionFilterBase
~VectorDataToSpecificDescriptionFilterBase() override
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:79
otb::VectorDataToSpecificDescriptionFilterBase::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:53
otb::VectorDataToSpecificDescriptionFilterBase::VectorDataPointer
VectorDataType::Pointer VectorDataPointer
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:63
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::VectorDataToSpecificDescriptionFilterBase::DataObject
itk::DataObject DataObject
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:67
otb::VectorDataToSpecificDescriptionFilterBase::Self
VectorDataToSpecificDescriptionFilterBase Self
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:50
otb::VectorDataToSpecificDescriptionFilterBase
Base class for VectorDataToSpecificDescriptionFilters.
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:46
otb::VectorDataToVectorDataFilter
Base class for filters that take an VectorData as input and produce an VectorData as output.
Definition: otbVectorDataToVectorDataFilter.h:43
otb::VectorDataToSpecificDescriptionFilterBase::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:52
otbVectorDataToSpecificDescriptionFilterBase.hxx
otb::VectorDataToSpecificDescriptionFilterBase::VectorDataType
TVectorData VectorDataType
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:59
otb::VectorDataToSpecificDescriptionFilterBase::DataObjectPointer
itk::DataObject::Pointer DataObjectPointer
Definition: otbVectorDataToSpecificDescriptionFilterBase.h:66