Class BaseRenderPassDataTransformation<TRenderPassData>
Base implementation for all animated render pass data transformations within SciChart.
Note: This base class and inheritors are used for animations purposes. You can use it to just transform render pass data, it's not recommended though.
See Also: SweepXyTransformation, ScaleTransformationBase, TranslateXTransformationInheritance
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class BaseRenderPassDataTransformation<TRenderPassData> extends renderableSeriesRenderPassDataTransformationBase<TRenderPassData> implements IRenderPassDataTransformation
Type Parameters
| Name | Description |
|---|---|
| TRenderPassData |
Constructors
BaseRenderPassDataTransformation(Class<TRenderPassData> rpdType)
Create new instance of BaseRenderPassDataTransformation class.
Declaration
protected BaseRenderPassDataTransformation(Class<TRenderPassData> rpdType)
Parameters
| Type | Name | Description |
|---|---|---|
| Class<TRenderPassData> | rpdType | Type of associated render pass data. |
Methods
getCurrentDelta()
Get's current delta value, which is the difference between currentProgress and previousProgress.
Note: previousProgress is updating in this method only. So right after getting delta, previous delta is replaced by current.
Declaration
public final float getCurrentDelta()
Returns
| Type | Description |
|---|---|
| float | The current delta value. |
getCurrentTransformationValue()
Get's current value, which is used to transform render pass data.
Declaration
public final float getCurrentTransformationValue()
Returns
| Type | Description |
|---|---|
| float | The current value. Note: named like so because of Xamarin.Android binding generator issues. |
onAnimationEnd()
Notifies the end of the associated animation.
Declaration
public void onAnimationEnd()
onAnimationStart(float initialValue)
Deprecated. Use #onAnimationStartInternal() instead
Notifies the start of the associated animation.
Declaration
public final void onAnimationStart(float initialValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | initialValue |
onAnimationStartInternal()
Called on start of animation associated with current transformation
Declaration
protected void onAnimationStartInternal()
setCurrentProgress(float currentProgress)
Set's current value, according to which, associated render pass data will be transformed.
Note: This is used for animations purposes.
Declaration
public final void setCurrentProgress(float currentProgress)
Parameters
| Type | Name | Description |
|---|---|---|
| float | currentProgress |
shouldUpdateOnRenderPassDataChanged()
Declaration
protected boolean shouldUpdateOnRenderPassDataChanged()
Returns
| Type | Description |
|---|---|
| boolean |