ACF $AcfVersion:0$
Public Types | Public Member Functions | List of all members
imath::TIMathFunction< Argument, Result > Class Template Referenceabstract

Template interface for any mathematical function. More...

#include <TIMathFunction.h>

Inheritance diagram for imath::TIMathFunction< Argument, Result >:
istd::IPolymorphic imath::TISurjectFunction< CVector2d, CVector2d > imath::ISampledFunctionInterpolator imath::TFulcrumGridFunctionBase< Argument, Result, Fulcrums > imath::TISurjectFunction< Argument, Result > imath::TMultidimensionalPolynomial< Dimensions, Element > i2d::ITransformation2d imath::CAkimaInterpolator imath::CLinearInterpolator imath::TSplineGridFunctionBase< Argument, Result, Fulcrums, Degree > i2d::CAffineTransformation2d i2d::ICalibration2d

Public Types

typedef Argument ArgumentType
 
typedef Result ResultType
 

Public Member Functions

virtual bool GetValueAt (const Argument &argument, Result &result) const =0
 Get function value for specified argument value.
 
virtual Result GetValueAt (const Argument &argument) const =0
 Get function value for specified argument value.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

template<typename Argument, typename Result>
class imath::TIMathFunction< Argument, Result >

Template interface for any mathematical function.

Definition at line 17 of file TIMathFunction.h.

Member Typedef Documentation

◆ ArgumentType

template<typename Argument , typename Result >
typedef Argument imath::TIMathFunction< Argument, Result >::ArgumentType

Definition at line 20 of file TIMathFunction.h.

◆ ResultType

template<typename Argument , typename Result >
typedef Result imath::TIMathFunction< Argument, Result >::ResultType

Definition at line 21 of file TIMathFunction.h.

Member Function Documentation

◆ GetValueAt() [1/2]

template<typename Argument , typename Result >
virtual Result imath::TIMathFunction< Argument, Result >::GetValueAt ( const Argument &  argument) const
pure virtual

◆ GetValueAt() [2/2]

template<typename Argument , typename Result >
virtual bool imath::TIMathFunction< Argument, Result >::GetValueAt ( const Argument &  argument,
Result &  result 
) const
pure virtual

Get function value for specified argument value.

Parameters
argumentfunction argument.
resultfunction value for specified argument.
Returns
true if result was correctly calculated.

Implemented in imath::TSplineGridFunctionBase< Argument, Result, Fulcrums, Degree >, icmm::CCmykToRgbTransformation, icmm::CHsvToRgbTransformation, icmm::CRgbToCmykTransformation, icmm::CRgbToHsvTranformation, imath::TMultidimensionalPolynomial< Dimensions, Element >, icmm::CRgbToXyzTransformation, and icmm::CXyzToCieLabTransformation.


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