class TAlfTimedPoint |
Public Member Functions | |
---|---|
TAlfTimedPoint () | |
TAlfTimedPoint ( TReal32 , TReal32 ) | |
TAlfTimedPoint ( TReal32 , TReal32 , TInt ) | |
IMPORT_C TPoint | IntTarget () |
IMPORT_C TPoint | IntValueNow () |
IMPORT_C void | SetMappingFunctionIdentifier ( TInt ) |
IMPORT_C void | SetStyle ( TAlfInterpolationStyle ) |
IMPORT_C void | SetTarget (const TAlfRealPoint &, TInt ) |
IMPORT_C void | SetTarget ( TReal32 , TInt ) |
IMPORT_C void | SetTargetWithSpeed (const TAlfRealPoint &, TReal32 ) |
IMPORT_C void | SetTargetWithSpeed ( TReal32 , TReal32 ) |
TAlfRealPoint | Target () |
TAlfRealPoint | TimeToTargetinMilliSeconds () |
TAlfRealPoint | ValueNow () |
Public Attributes | |
---|---|
TAlfTimedValue | iX |
TAlfTimedValue | iY |
Private Attributes | |
---|---|
TInt | iSpare1 |
TInt | iSpare2 |
IMPORT_C | TAlfTimedPoint | ( | TReal32 | aX, |
TReal32 | aY | |||
) |
Constructor that sets default values.
IMPORT_C | TAlfTimedPoint | ( | TReal32 | aXTarget, |
TReal32 | aYTarget, | |||
TInt | aTransitionTime | |||
) |
Constructor. Enables target value setting.
IMPORT_C TPoint | IntTarget | ( | ) | const |
Returns the target value of the point rounded to nearest integer values. Note that the TAlfTimedPoint values are floating-point.
Target() For returning the floating-point values.
IMPORT_C TPoint | IntValueNow | ( | ) | const |
Returns the current interpolatad value of the point rounded to nearest integer values. Note that the TAlfTimedPoint values are floating-point.
ValueNow() For returning the floating-point current value.
IMPORT_C void | SetMappingFunctionIdentifier | ( | TInt | aIdentifier | ) |
Sets identifier of a mapping function that affects the timed value for both components of the point.
TInt aIdentifier | Identifier of a function that will map the current value to required number space. |
IMPORT_C void | SetStyle | ( | TAlfInterpolationStyle | aStyle | ) |
Sets the interpolation style of both components of the point.
TAlfInterpolationStyle aStyle | Timed value interpolation style. |
IMPORT_C void | SetTarget | ( | const TAlfRealPoint & | aPoint, |
TInt | aTransitionTime = 0 | |||
) |
Sets the target for the timed point.
const TAlfRealPoint & aPoint | Target point. |
TInt aTransitionTime = 0 | Duration for reaching the target. |
IMPORT_C void | SetTarget | ( | TReal32 | aValue, |
TInt | aTransitionTime = 0 | |||
) |
Sets the target value of both components of the timed point.
IMPORT_C void | SetTargetWithSpeed | ( | const TAlfRealPoint & | aPoint, |
TReal32 | aUnitsPerSecond | |||
) |
Sets the target value for the timed point, with a transition that is done using a specific speed.
const TAlfRealPoint & aPoint | Target point. |
TReal32 aUnitsPerSecond | Units per second during the transition. |
IMPORT_C void | SetTargetWithSpeed | ( | TReal32 | aValue, |
TReal32 | aUnitsPerSecond | |||
) |
Sets the target value of both components of the timed point.
TAlfRealPoint | TimeToTargetinMilliSeconds | ( | ) | const [inline] |
Returns the transition time value of the point.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.