OTB  9.0.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 forwarding the operator of template parameter, while adding number of output components service.

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

It is used internally in NewFunctorFilter version with numberOfOutputBands parameter.

Definition at line 455 of file otbFunctorImageFilter.h.

Constructor & Destructor Documentation

◆ NumberOfOutputBandsDecorator()

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

Definition at line 458 of file otbFunctorImageFilter.h.

Member Function Documentation

◆ OutputSize()

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

Member Data Documentation

◆ m_NumberOfOutputBands

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

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