Class WaveHlTransformation<T>
Provides class, which used to wave transform series with HlRenderPassData and it's inheritors.
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class WaveHlTransformation<T> extends WaveTransformationBase<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
WaveHlTransformation(Class<T> rpdType, double zeroLine, float durationOfStepData)
Create new instance of WaveHlTransformation class.
Declaration
public WaveHlTransformation(Class<T> rpdType, double zeroLine, float durationOfStepData)
Parameters
Type | Name | Description |
---|---|---|
Class<T> | rpdType | Type of associated render pass data. |
double | zeroLine | Data value which determines the zero line in Y direction, from which scaling will be performed. |
float | durationOfStepData | Wave duration before next point is started to animate. Default is 0.5. |
Methods
applyTransformationInternal(float currentDelta)
Applies transformation using ScaleTransformationBase#transformValues(float, FloatValues, FloatValues) method. FloatValues to be supplied from inheritors. First arg is values to transform. Second is to get original coordinates from.
Declaration
protected void applyTransformationInternal(float currentDelta)
Parameters
Type | Name | Description |
---|---|---|
float | currentDelta |
Overrides
discardTransformation()
Discards this transformation from associated series.
Declaration
protected void discardTransformation()
Overrides
onInternalRenderPassDataChanged()
Called when associated series render pass data changed during animation.
Declaration
protected void onInternalRenderPassDataChanged()
Overrides
prepareDataToTransformation()
Prepares associated render pass data to transformation.
Declaration
protected void prepareDataToTransformation()
Overrides
saveOriginalData()
Saves original data from render pass data, which supposed to be changed during #applyTransformation() call.
Declaration
protected void saveOriginalData()