OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
otb::DataNodeFunctionBase< TDataNode, TOutput > Class Template Referenceabstract

#include <otbDataNodeFunctionBase.h>

+ Inheritance diagram for otb::DataNodeFunctionBase< TDataNode, TOutput >:
+ Collaboration diagram for otb::DataNodeFunctionBase< TDataNode, TOutput >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TDataNode DataNodeType
 
typedef TOutput OutputType
 
typedef itk::SmartPointer< SelfPointer
 
typedef DataNodeFunctionBase Self
 
typedef itk::FunctionBase< TDataNode, TOutput > Superclass
 

Public Member Functions

OutputType Evaluate (const DataNodeType &node) const override=0
 
virtual const char * GetNameOfClass () const
 

Protected Member Functions

 DataNodeFunctionBase ()
 
 ~DataNodeFunctionBase () override
 

Private Member Functions

 DataNodeFunctionBase (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TDataNode, class TOutput>
class otb::DataNodeFunctionBase< TDataNode, TOutput >

Base class for DataNode functions.

DataNodeFunctionBase is the base class for DataNode function objects. Specifically, the abstract method Evaluate() maps a DataNode from the input space to a element in the output space.

Subclasses must override Evaluate().

This class is template over the input DataNode type and the output (range) type.

See also
DataNodeImageFunction
DataNodeVectorDataFunction

Definition at line 49 of file otbDataNodeFunctionBase.h.

Member Typedef Documentation

◆ ConstPointer

template<class TDataNode , class TOutput >
typedef itk::SmartPointer<const Self> otb::DataNodeFunctionBase< TDataNode, TOutput >::ConstPointer

Definition at line 56 of file otbDataNodeFunctionBase.h.

◆ DataNodeType

template<class TDataNode , class TOutput >
typedef TDataNode otb::DataNodeFunctionBase< TDataNode, TOutput >::DataNodeType

Input type

Definition at line 59 of file otbDataNodeFunctionBase.h.

◆ OutputType

template<class TDataNode , class TOutput >
typedef TOutput otb::DataNodeFunctionBase< TDataNode, TOutput >::OutputType

Output type

Definition at line 65 of file otbDataNodeFunctionBase.h.

◆ Pointer

template<class TDataNode , class TOutput >
typedef itk::SmartPointer<Self> otb::DataNodeFunctionBase< TDataNode, TOutput >::Pointer

Definition at line 55 of file otbDataNodeFunctionBase.h.

◆ Self

template<class TDataNode , class TOutput >
typedef DataNodeFunctionBase otb::DataNodeFunctionBase< TDataNode, TOutput >::Self

Standard class typedefs.

Definition at line 53 of file otbDataNodeFunctionBase.h.

◆ Superclass

template<class TDataNode , class TOutput >
typedef itk::FunctionBase<TDataNode, TOutput> otb::DataNodeFunctionBase< TDataNode, TOutput >::Superclass

Definition at line 54 of file otbDataNodeFunctionBase.h.

Constructor & Destructor Documentation

◆ DataNodeFunctionBase() [1/2]

template<class TDataNode , class TOutput >
otb::DataNodeFunctionBase< TDataNode, TOutput >::DataNodeFunctionBase ( )
inlineprotected

Definition at line 71 of file otbDataNodeFunctionBase.h.

◆ ~DataNodeFunctionBase()

template<class TDataNode , class TOutput >
otb::DataNodeFunctionBase< TDataNode, TOutput >::~DataNodeFunctionBase ( )
inlineoverrideprotected

Definition at line 72 of file otbDataNodeFunctionBase.h.

◆ DataNodeFunctionBase() [2/2]

template<class TDataNode , class TOutput >
otb::DataNodeFunctionBase< TDataNode, TOutput >::DataNodeFunctionBase ( const Self )
privatedelete

Member Function Documentation

◆ Evaluate()

template<class TDataNode , class TOutput >
OutputType otb::DataNodeFunctionBase< TDataNode, TOutput >::Evaluate ( const DataNodeType node) const
overridepure virtual

Evaluate at the specified input position

◆ GetNameOfClass()

template<class TDataNode , class TOutput >
virtual const char* otb::DataNodeFunctionBase< TDataNode, TOutput >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ operator=()

template<class TDataNode , class TOutput >
void otb::DataNodeFunctionBase< TDataNode, TOutput >::operator= ( const Self )
privatedelete

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