OTB  7.2.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 ouptut 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 
)
inline

Definition at line 458 of file otbFunctorImageFilter.h.

Member Function Documentation

◆ OutputSize()

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

Definition at line 462 of file otbFunctorImageFilter.h.

Member Data Documentation

◆ m_NumberOfOutputBands

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

Definition at line 468 of file otbFunctorImageFilter.h.


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