OTB
9.0.0
Orfeo Toolbox
|
#include <otbAffineFunctor.h>
Public Member Functions | |
AffineFunctor () | |
TScale | GetA () |
TOutput | GetB () |
bool | operator!= (const AffineFunctor &other) const |
TOutput | operator() (const TInput &x) const |
bool | operator== (const AffineFunctor &other) const |
void | SetA (TScale value) |
void | SetB (TOutput value) |
virtual | ~AffineFunctor () |
Private Attributes | |
TScale | m_A |
TOutput | m_B |
This functor performs a linear transform of its input.
Coefficient a is a scalar, its type is templated (default is double). Coefficient b has the same type as output type. Standard casting is applied between input and output type.
TInput and TOutput type are supposed to be scalar types.
Definition at line 43 of file otbAffineFunctor.h.
|
inline |
Constructor.
Definition at line 47 of file otbAffineFunctor.h.
|
inlinevirtual |
Constructor.
Definition at line 52 of file otbAffineFunctor.h.
|
inline |
Definition at line 61 of file otbAffineFunctor.h.
References otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_A.
Referenced by otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator!=(), and otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator==().
|
inline |
Definition at line 69 of file otbAffineFunctor.h.
References otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_B.
Referenced by otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator!=(), and otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator==().
|
inline |
Definition at line 74 of file otbAffineFunctor.h.
References otb::Functor::AffineFunctor< TInput, TOutput, TScale >::GetA(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::GetB(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_A, and otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_B.
|
inline |
Definition at line 85 of file otbAffineFunctor.h.
References otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_A, and otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_B.
|
inline |
Definition at line 79 of file otbAffineFunctor.h.
References otb::Functor::AffineFunctor< TInput, TOutput, TScale >::GetA(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::GetB(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_A, and otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_B.
|
inline |
Accessors.
Definition at line 57 of file otbAffineFunctor.h.
References otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_A.
|
inline |
Definition at line 65 of file otbAffineFunctor.h.
References otb::Functor::AffineFunctor< TInput, TOutput, TScale >::m_B.
|
private |
Definition at line 91 of file otbAffineFunctor.h.
Referenced by otb::Functor::AffineFunctor< TInput, TOutput, TScale >::GetA(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator!=(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator()(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator==(), and otb::Functor::AffineFunctor< TInput, TOutput, TScale >::SetA().
|
private |
Definition at line 92 of file otbAffineFunctor.h.
Referenced by otb::Functor::AffineFunctor< TInput, TOutput, TScale >::GetB(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator!=(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator()(), otb::Functor::AffineFunctor< TInput, TOutput, TScale >::operator==(), and otb::Functor::AffineFunctor< TInput, TOutput, TScale >::SetB().