OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
otb::Function::ChannelSelectorFunctor< TInputPixel > Class Template Reference

#include <otbChannelSelectorFunctor.h>

+ Inheritance diagram for otb::Function::ChannelSelectorFunctor< TInputPixel >:
+ Collaboration diagram for otb::Function::ChannelSelectorFunctor< TInputPixel >:

Public Types

typedef std::vector< unsigned int > ChannelListType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef VectorPixelType OutputPixelType
 
typedef TInputPixel PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::RGBAPixel
< ScalarType
RGBAPixelType
 
typedef itk::RGBPixel< ScalarTypeRGBPixelType
 
typedef itk::NumericTraits
< PixelType >::ValueType 
ScalarType
 
typedef ChannelSelectorFunctor Self
 
typedef itk::Object Superclass
 
typedef
itk::VariableLengthVector
< ScalarType
VectorPixelType
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual unsigned int GetBlueChannelIndex () const
 
virtual unsigned int GetChannelIndex (unsigned int channelPosition) const
 
virtual std::vector< unsigned int > GetChannelList () const
 
const char * GetDescription () const
 
virtual unsigned int GetGreenChannelIndex () const
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetOutputSize () const
 
virtual unsigned int GetRedChannelIndex () const
 
virtual bool IsUsingDefaultParameters ()
 
virtual OutputPixelType operator() (const VectorPixelType &inPixel) const
 
virtual OutputPixelType operator() (ScalarType inPixel) const
 
virtual OutputPixelType operator() (const RGBPixelType &inPixel) const
 
virtual OutputPixelType operator() (const RGBAPixelType &inPixel) const
 
virtual void SetBlueChannelIndex (unsigned int channel)
 
virtual void SetChannelIndex (unsigned int channelPosition, unsigned int channel)
 
virtual void SetChannelList (std::vector< unsigned int > channels)
 
virtual void SetGreenChannelIndex (unsigned int channel)
 
virtual void SetAllChannels (unsigned int channel)
 
virtual void SetRedChannelIndex (unsigned int channel)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 ~ChannelSelectorFunctor () override
 
 ChannelSelectorFunctor ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

ChannelListType m_ChannelList
 
bool usingDefaultParameters
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TInputPixel>
class otb::Function::ChannelSelectorFunctor< TInputPixel >

Base class for pixel representation functions.

See Also
AmplitudeFunctor PhaseFunctor

Definition at line 45 of file otbChannelSelectorFunctor.h.

Member Typedef Documentation

template<class TInputPixel >
typedef std::vector<unsigned int> otb::Function::ChannelSelectorFunctor< TInputPixel >::ChannelListType

Definition at line 68 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef itk::SmartPointer<const Self> otb::Function::ChannelSelectorFunctor< TInputPixel >::ConstPointer

Definition at line 52 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef VectorPixelType otb::Function::ChannelSelectorFunctor< TInputPixel >::OutputPixelType

Definition at line 66 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef TInputPixel otb::Function::ChannelSelectorFunctor< TInputPixel >::PixelType

Definition at line 58 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef itk::SmartPointer<Self> otb::Function::ChannelSelectorFunctor< TInputPixel >::Pointer

Definition at line 51 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef itk::RGBAPixel<ScalarType> otb::Function::ChannelSelectorFunctor< TInputPixel >::RGBAPixelType

Definition at line 64 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef itk::RGBPixel<ScalarType> otb::Function::ChannelSelectorFunctor< TInputPixel >::RGBPixelType

Definition at line 63 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef itk::NumericTraits<PixelType>::ValueType otb::Function::ChannelSelectorFunctor< TInputPixel >::ScalarType

Definition at line 61 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef ChannelSelectorFunctor otb::Function::ChannelSelectorFunctor< TInputPixel >::Self

Standard class typedefs

Definition at line 49 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef itk::Object otb::Function::ChannelSelectorFunctor< TInputPixel >::Superclass

Definition at line 50 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
typedef itk::VariableLengthVector<ScalarType> otb::Function::ChannelSelectorFunctor< TInputPixel >::VectorPixelType

Definition at line 62 of file otbChannelSelectorFunctor.h.

Constructor & Destructor Documentation

template<class TInputPixel >
otb::Function::ChannelSelectorFunctor< TInputPixel >::ChannelSelectorFunctor ( )
inlineprotected
template<class TInputPixel >
otb::Function::ChannelSelectorFunctor< TInputPixel >::~ChannelSelectorFunctor ( )
inlineoverrideprotected

Destructor

Definition at line 254 of file otbChannelSelectorFunctor.h.

Member Function Documentation

template<class TInputPixel >
virtual::itk::LightObject::Pointer otb::Function::ChannelSelectorFunctor< TInputPixel >::CreateAnother ( void  ) const
virtual
template<class TInputPixel >
virtual unsigned int otb::Function::ChannelSelectorFunctor< TInputPixel >::GetBlueChannelIndex ( ) const
inlinevirtual
template<class TInputPixel >
virtual unsigned int otb::Function::ChannelSelectorFunctor< TInputPixel >::GetChannelIndex ( unsigned int  channelPosition) const
inlinevirtual
template<class TInputPixel >
virtual std::vector<unsigned int> otb::Function::ChannelSelectorFunctor< TInputPixel >::GetChannelList ( ) const
inlinevirtual
template<class TInputPixel >
const char* otb::Function::ChannelSelectorFunctor< TInputPixel >::GetDescription ( void  ) const
inline

Definition at line 70 of file otbChannelSelectorFunctor.h.

template<class TInputPixel >
virtual unsigned int otb::Function::ChannelSelectorFunctor< TInputPixel >::GetGreenChannelIndex ( ) const
inlinevirtual
template<class TInputPixel >
virtual const char* otb::Function::ChannelSelectorFunctor< TInputPixel >::GetNameOfClass ( ) const
virtual

Runtime information

Reimplemented from itk::Object.

Reimplemented in otb::Function::AmplitudeFunctor< TInputPixel >, and otb::Function::PhaseFunctor< TInputPixel >.

template<class TInputPixel >
virtual unsigned int otb::Function::ChannelSelectorFunctor< TInputPixel >::GetOutputSize ( ) const
inlinevirtual
template<class TInputPixel >
virtual unsigned int otb::Function::ChannelSelectorFunctor< TInputPixel >::GetRedChannelIndex ( ) const
inlinevirtual
template<class TInputPixel >
virtual bool otb::Function::ChannelSelectorFunctor< TInputPixel >::IsUsingDefaultParameters ( )
inlinevirtual
template<class TInputPixel >
static Pointer otb::Function::ChannelSelectorFunctor< TInputPixel >::New ( )
static

Method for creation through the object factory

template<class TInputPixel >
virtual OutputPixelType otb::Function::ChannelSelectorFunctor< TInputPixel >::operator() ( const VectorPixelType inPixel) const
inlinevirtual
template<class TInputPixel >
virtual OutputPixelType otb::Function::ChannelSelectorFunctor< TInputPixel >::operator() ( ScalarType  inPixel) const
inlinevirtual
template<class TInputPixel >
virtual OutputPixelType otb::Function::ChannelSelectorFunctor< TInputPixel >::operator() ( const RGBPixelType inPixel) const
inlinevirtual
template<class TInputPixel >
virtual OutputPixelType otb::Function::ChannelSelectorFunctor< TInputPixel >::operator() ( const RGBAPixelType inPixel) const
inlinevirtual
template<class TInputPixel >
virtual void otb::Function::ChannelSelectorFunctor< TInputPixel >::SetAllChannels ( unsigned int  channel)
inlinevirtual
template<class TInputPixel >
virtual void otb::Function::ChannelSelectorFunctor< TInputPixel >::SetBlueChannelIndex ( unsigned int  channel)
inlinevirtual
template<class TInputPixel >
virtual void otb::Function::ChannelSelectorFunctor< TInputPixel >::SetChannelIndex ( unsigned int  channelPosition,
unsigned int  channel 
)
inlinevirtual
template<class TInputPixel >
virtual void otb::Function::ChannelSelectorFunctor< TInputPixel >::SetChannelList ( std::vector< unsigned int >  channels)
inlinevirtual
template<class TInputPixel >
virtual void otb::Function::ChannelSelectorFunctor< TInputPixel >::SetGreenChannelIndex ( unsigned int  channel)
inlinevirtual
template<class TInputPixel >
virtual void otb::Function::ChannelSelectorFunctor< TInputPixel >::SetRedChannelIndex ( unsigned int  channel)
inlinevirtual

Member Data Documentation

template<class TInputPixel >
ChannelListType otb::Function::ChannelSelectorFunctor< TInputPixel >::m_ChannelList
private
template<class TInputPixel >
bool otb::Function::ChannelSelectorFunctor< TInputPixel >::usingDefaultParameters
private

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