OTB  6.7.0
Orfeo Toolbox
Public Member Functions | Private Attributes | List of all members
otb::NumberOfOutputBandsDecorator< F > Struct Template Reference

#include <otbFunctorImageFilter.h>

+ Inheritance diagram for otb::NumberOfOutputBandsDecorator< F >:
+ Collaboration diagram for otb::NumberOfOutputBandsDecorator< F >:

Public Member Functions

constexpr NumberOfOutputBandsDecorator (F t, unsigned int nbComp)
constexpr vcl_size_t OutputSize (...) const

Private Attributes

unsigned int m_NumberOfOutputBands

Detailed Description

template<typename F>
struct otb::NumberOfOutputBandsDecorator< F >

This struct allows to forward the operator of template parameter, while adding number of ouptut components service.

Its purpose is to enable the use of lambda or functor witht Outputsize() method with FunctorImageFilter.

It is used internally in NewFunctorFilter version with numberOfOutputBands parameter.

Definition at line 413 of file otbFunctorImageFilter.h.

Constructor & Destructor Documentation

template<typename F >
constexpr otb::NumberOfOutputBandsDecorator< F >::NumberOfOutputBandsDecorator ( t,
unsigned int  nbComp 

Definition at line 416 of file otbFunctorImageFilter.h.

Member Function Documentation

template<typename F >
constexpr vcl_size_t otb::NumberOfOutputBandsDecorator< F >::OutputSize (   ...) const

Member Data Documentation

template<typename F >
unsigned int otb::NumberOfOutputBandsDecorator< F >::m_NumberOfOutputBands

The documentation for this struct was generated from the following file: