MAlfTableMappingFunctionDataProvider Class Reference

class MAlfTableMappingFunctionDataProvider

Mapping table function data provider, to be used with CAlfTableMappingFunction .

Public Member Functions
TReal32 MapValue ( TReal32 , TInt )

Member Functions Documentation

MapValue(TReal32, TInt)

TReal32 MapValue ( TReal32 aValue,
TInt aMode
) const [pure virtual]

Perform the mapping. Defines a function y = f(x, mode).

Implement this method that calculates a output value for a timed value based on the input value and a component/mode parameter.

For example the aValue input could be an angle, and the aMode could be a X or Y component enumeration, then the MapValue could calculate return a x or y position on a curve path.

Parameters

TReal32 aValue Unmapped value.
TInt aMode Mapping mode used for mapping this value.