OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::MetaImageFunction< TOutputPrecision, TCoordRep > Class Template Reference

#include <otbMetaImageFunction.h>

+ Inheritance diagram for otb::MetaImageFunction< TOutputPrecision, TCoordRep >:
+ Collaboration diagram for otb::MetaImageFunction< TOutputPrecision, TCoordRep >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TCoordRep CoordRepType
 
typedef std::vector
< FunctionPointerType
FunctionContainerType
 
typedef FunctionType::Pointer FunctionPointerType
 
typedef Superclass FunctionType
 
typedef
itk::VariableLengthVector
< ValueType
OutputType
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::Point
< CoordRepType, 2 > 
PointType
 
typedef MetaImageFunction Self
 
typedef itk::FunctionBase
< itk::Point< TCoordRep, 2 >
, itk::VariableLengthVector
< TOutputPrecision > > 
Superclass
 
typedef TOutputPrecision ValueType
 
- Public Types inherited from itk::FunctionBase< itk::Point< TCoordRep, 2 >, itk::VariableLengthVector< TOutputPrecision > >
typedef SmartPointer< const SelfConstPointer
 
typedef itk::Point< TCoordRep, 2 > InputType
 
typedef
itk::VariableLengthVector
< TOutputPrecision > 
OutputType
 
typedef SmartPointer< SelfPointer
 
typedef FunctionBase Self
 
typedef Object Superclass
 
- 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

void AddFunction (FunctionType *function)
 
void ClearFunctions ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
OutputType Evaluate (const PointType &point) const
 
virtual const char * GetNameOfClass () const
 
FunctionTypeGetNthFunction (unsigned int index)
 
unsigned int GetNumberOfFunctions () const
 
void RemoveNthFunction (unsigned int index)
 
- Public Member Functions inherited from itk::FunctionBase< itk::Point< TCoordRep, 2 >, itk::VariableLengthVector< TOutputPrecision > >
virtual OutputType Evaluate (const InputType &input) const =0
 
- 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 (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
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 ITK_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) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- 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

 MetaImageFunction ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
 ~MetaImageFunction ()
 
- Protected Member Functions inherited from itk::FunctionBase< itk::Point< TCoordRep, 2 >, itk::VariableLengthVector< TOutputPrecision > >
 FunctionBase ()
 
 ~FunctionBase ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
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 Member Functions

 MetaImageFunction (const Self &)
 
void operator= (const Self &)
 

Private Attributes

FunctionContainerType m_FunctionContainer
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

template<class TOutputPrecision = double, class TCoordRep = double>
class otb::MetaImageFunction< TOutputPrecision, TCoordRep >

Concatenate results from multiple ImageFunction.

The MetaImageFunction class allows to call multiple ImageFunction at the same location and to concatenate their result into a single VariableLengthVector.

In the case of ImageFunction which do not produce VariableLengthVector, one can wrap these function using the ImageFunctionAdaptor class, which will translate the image function output to a VariableLengthVector.

Definition at line 44 of file otbMetaImageFunction.h.

Member Typedef Documentation

template<class TOutputPrecision = double, class TCoordRep = double>
typedef itk::SmartPointer<const Self> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::ConstPointer

Definition at line 55 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef TCoordRep otb::MetaImageFunction< TOutputPrecision, TCoordRep >::CoordRepType

Definition at line 61 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef std::vector<FunctionPointerType> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::FunctionContainerType

Definition at line 72 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef FunctionType::Pointer otb::MetaImageFunction< TOutputPrecision, TCoordRep >::FunctionPointerType

Definition at line 71 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef Superclass otb::MetaImageFunction< TOutputPrecision, TCoordRep >::FunctionType

Definition at line 70 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef itk::VariableLengthVector<ValueType> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::OutputType

Definition at line 67 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef itk::SmartPointer<Self> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::Pointer

Definition at line 54 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef itk::Point<CoordRepType, 2> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::PointType

Definition at line 65 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef MetaImageFunction otb::MetaImageFunction< TOutputPrecision, TCoordRep >::Self

Definition at line 50 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef itk::FunctionBase< itk::Point<TCoordRep, 2>, itk::VariableLengthVector<TOutputPrecision> > otb::MetaImageFunction< TOutputPrecision, TCoordRep >::Superclass

Definition at line 53 of file otbMetaImageFunction.h.

template<class TOutputPrecision = double, class TCoordRep = double>
typedef TOutputPrecision otb::MetaImageFunction< TOutputPrecision, TCoordRep >::ValueType

Definition at line 66 of file otbMetaImageFunction.h.

Constructor & Destructor Documentation

template<class TOutputPrecision , class TCoordRep >
otb::MetaImageFunction< TOutputPrecision, TCoordRep >::MetaImageFunction ( )
protected

Constructor

Definition at line 30 of file otbMetaImageFunction.txx.

template<class TOutputPrecision , class TCoordRep >
otb::MetaImageFunction< TOutputPrecision, TCoordRep >::~MetaImageFunction ( )
protected

Destructor

Definition at line 37 of file otbMetaImageFunction.txx.

template<class TOutputPrecision = double, class TCoordRep = double>
otb::MetaImageFunction< TOutputPrecision, TCoordRep >::MetaImageFunction ( const Self )
private

Member Function Documentation

template<class TOutputPrecision , class TCoordRep >
void otb::MetaImageFunction< TOutputPrecision, TCoordRep >::AddFunction ( FunctionType function)

Add a new function to the functions vector

Definition at line 45 of file otbMetaImageFunction.txx.

template<class TOutputPrecision , class TCoordRep >
void otb::MetaImageFunction< TOutputPrecision, TCoordRep >::ClearFunctions ( )

Add a new function the functions vector (compatibility via adapters) Clear functions vector

Definition at line 67 of file otbMetaImageFunction.txx.

template<class TOutputPrecision = double, class TCoordRep = double>
virtual::itk::LightObject::Pointer otb::MetaImageFunction< TOutputPrecision, TCoordRep >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TOutputPrecision , class TCoordRep >
MetaImageFunction< TOutputPrecision, TCoordRep >::OutputType otb::MetaImageFunction< TOutputPrecision, TCoordRep >::Evaluate ( const PointType point) const
template<class TOutputPrecision = double, class TCoordRep = double>
virtual const char* otb::MetaImageFunction< TOutputPrecision, TCoordRep >::GetNameOfClass ( ) const
virtual
template<class TOutputPrecision , class TCoordRep >
MetaImageFunction< TOutputPrecision, TCoordRep >::FunctionType * otb::MetaImageFunction< TOutputPrecision, TCoordRep >::GetNthFunction ( unsigned int  index)

Retrieve the nth function

Definition at line 84 of file otbMetaImageFunction.txx.

template<class TOutputPrecision , class TCoordRep >
unsigned int otb::MetaImageFunction< TOutputPrecision, TCoordRep >::GetNumberOfFunctions ( ) const

Get the number of function registered

Definition at line 75 of file otbMetaImageFunction.txx.

template<class TOutputPrecision = double, class TCoordRep = double>
static Pointer otb::MetaImageFunction< TOutputPrecision, TCoordRep >::New ( )
static
template<class TOutputPrecision = double, class TCoordRep = double>
void otb::MetaImageFunction< TOutputPrecision, TCoordRep >::operator= ( const Self )
private
template<class TOutputPrecision , class TCoordRep >
void otb::MetaImageFunction< TOutputPrecision, TCoordRep >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

PrintSelf method

Reimplemented from itk::Object.

Definition at line 140 of file otbMetaImageFunction.txx.

template<class TOutputPrecision , class TCoordRep >
void otb::MetaImageFunction< TOutputPrecision, TCoordRep >::RemoveNthFunction ( unsigned int  index)

Remove the nth function

Definition at line 92 of file otbMetaImageFunction.txx.

Member Data Documentation

template<class TOutputPrecision = double, class TCoordRep = double>
FunctionContainerType otb::MetaImageFunction< TOutputPrecision, TCoordRep >::m_FunctionContainer
private

Definition at line 109 of file otbMetaImageFunction.h.


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