ICF 3.0.5.47
Technical documentation of ICF Libraries
imath::TIMathFunction< Argument, Result > Class Template Referenceabstract

Template interface for any mathematical function. More...

#include <TIMathFunction.h>

Inheritance diagram for imath::TIMathFunction< Argument, Result >:
Collaboration diagram for imath::TIMathFunction< Argument, Result >:

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.
 

Detailed Description

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

Template interface for any mathematical function.

Definition at line 21 of file TIMathFunction.h.

Member Typedef Documentation

◆ ArgumentType

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

Definition at line 24 of file TIMathFunction.h.

◆ ResultType

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

Definition at line 25 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

Get function value for specified argument value.

This overloaded menthod is provided only for convinence.

Parameters
argumentfunction argument.
Returns
function value for specified argument.

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

◆ 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 icmm::CCmykToRgbTransformation, icmm::CHsvToRgbTransformation, icmm::CRgbToCmykTransformation, icmm::CRgbToHsvTranformation, icmm::CRgbToXyzTransformation, icmm::CXyzToCieLabTransformation, and imath::TSplineGridFunctionBase< Argument, Result, Fulcrums, Degree >.


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

© Witold Gantzke and Kirill Lepskiy