OTB  9.0.0
Orfeo Toolbox
otbLabeledOutputAccessor.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1999-2011 Insight Software Consortium
3  * Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
4  *
5  * This file is part of Orfeo Toolbox
6  *
7  * https://www.orfeo-toolbox.org/
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21 
22 #ifndef otbLabeledOutputAccessor_h
23 #define otbLabeledOutputAccessor_h
24 
25 #include "itkMacro.h"
26 
27 namespace otb
28 {
29 
36 template <class TFilter>
38 {
39 public:
40  typedef typename TFilter::OutputImageType LabelImageType;
41  itkStaticConstMacro(LabeledOutputIndex, unsigned int, 0);
42 };
43 }
44 
45 #endif
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::LabeledOutputAccessor
Accessor to the index of the labeled output image of the Template Filter.
Definition: otbLabeledOutputAccessor.h:37
otb::LabeledOutputAccessor::LabeledOutputIndex
static const unsigned int LabeledOutputIndex
Definition: otbLabeledOutputAccessor.h:41
otb::LabeledOutputAccessor::LabelImageType
TFilter::OutputImageType LabelImageType
Definition: otbLabeledOutputAccessor.h:40