OTB
9.0.0
Orfeo Toolbox
|
#include <otbMetaImageFunction.h>
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< Self > | Pointer |
typedef itk::Point< CoordRepType, 2 > | PointType |
typedef MetaImageFunction | Self |
typedef itk::FunctionBase< itk::Point< TCoordRep, 2 >, itk::VariableLengthVector< TOutputPrecision > > | Superclass |
typedef TOutputPrecision | ValueType |
Public Member Functions | |
void | AddFunction (FunctionType *function) |
void | ClearFunctions () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
OutputType | Evaluate (const PointType &point) const override |
virtual const char * | GetNameOfClass () const |
FunctionType * | GetNthFunction (unsigned int index) |
unsigned int | GetNumberOfFunctions () const |
void | RemoveNthFunction (unsigned int index) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
MetaImageFunction () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~MetaImageFunction () override | |
Private Member Functions | |
MetaImageFunction (const Self &)=delete | |
void | operator= (const Self &)=delete |
Private Attributes | |
FunctionContainerType | m_FunctionContainer |
Concatenate results from multiple ImageFunction.
The MetaImageFunction class allows calling 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 48 of file otbMetaImageFunction.h.
typedef itk::SmartPointer<const Self> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::ConstPointer |
Definition at line 55 of file otbMetaImageFunction.h.
typedef TCoordRep otb::MetaImageFunction< TOutputPrecision, TCoordRep >::CoordRepType |
Definition at line 61 of file otbMetaImageFunction.h.
typedef std::vector<FunctionPointerType> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::FunctionContainerType |
Definition at line 72 of file otbMetaImageFunction.h.
typedef FunctionType::Pointer otb::MetaImageFunction< TOutputPrecision, TCoordRep >::FunctionPointerType |
Definition at line 71 of file otbMetaImageFunction.h.
typedef Superclass otb::MetaImageFunction< TOutputPrecision, TCoordRep >::FunctionType |
Definition at line 70 of file otbMetaImageFunction.h.
typedef itk::VariableLengthVector<ValueType> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::OutputType |
Definition at line 67 of file otbMetaImageFunction.h.
typedef itk::SmartPointer<Self> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::Pointer |
Definition at line 54 of file otbMetaImageFunction.h.
typedef itk::Point<CoordRepType, 2> otb::MetaImageFunction< TOutputPrecision, TCoordRep >::PointType |
Definition at line 65 of file otbMetaImageFunction.h.
typedef MetaImageFunction otb::MetaImageFunction< TOutputPrecision, TCoordRep >::Self |
Definition at line 52 of file otbMetaImageFunction.h.
typedef itk::FunctionBase<itk::Point<TCoordRep, 2>, itk::VariableLengthVector<TOutputPrecision> > otb::MetaImageFunction< TOutputPrecision, TCoordRep >::Superclass |
Definition at line 53 of file otbMetaImageFunction.h.
typedef TOutputPrecision otb::MetaImageFunction< TOutputPrecision, TCoordRep >::ValueType |
Definition at line 66 of file otbMetaImageFunction.h.
|
protected |
Constructor
Definition at line 32 of file otbMetaImageFunction.hxx.
|
overrideprotected |
Destructor
Definition at line 37 of file otbMetaImageFunction.hxx.
|
privatedelete |
void otb::MetaImageFunction< TOutputPrecision, TCoordRep >::AddFunction | ( | FunctionType * | function | ) |
Add a new function to the functions vector
Definition at line 43 of file otbMetaImageFunction.hxx.
void otb::MetaImageFunction< TOutputPrecision, TCoordRep >::ClearFunctions |
Add a new function the functions vector (compatibility via adapters) Clear functions vector
Definition at line 49 of file otbMetaImageFunction.hxx.
virtual::itk::LightObject::Pointer otb::MetaImageFunction< TOutputPrecision, TCoordRep >::CreateAnother | ( | void | ) | const |
|
override |
Evaluate the function at the given location
Definition at line 74 of file otbMetaImageFunction.hxx.
|
virtual |
MetaImageFunction< TOutputPrecision, TCoordRep >::FunctionType * otb::MetaImageFunction< TOutputPrecision, TCoordRep >::GetNthFunction | ( | unsigned int | index | ) |
Retrieve the nth function
Definition at line 61 of file otbMetaImageFunction.hxx.
unsigned int otb::MetaImageFunction< TOutputPrecision, TCoordRep >::GetNumberOfFunctions |
Get the number of function registered
Definition at line 55 of file otbMetaImageFunction.hxx.
|
static |
|
privatedelete |
|
overrideprotected |
PrintSelf method
Definition at line 110 of file otbMetaImageFunction.hxx.
void otb::MetaImageFunction< TOutputPrecision, TCoordRep >::RemoveNthFunction | ( | unsigned int | index | ) |
Remove the nth function
Definition at line 67 of file otbMetaImageFunction.hxx.
|
private |
Definition at line 109 of file otbMetaImageFunction.h.