Class SplineSweepXyTransformation<T>
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class SplineSweepXyTransformation<T> extends BaseRenderPassDataTransformation<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
SplineSweepXyTransformation(Class<T> rpdType)
Create new instance of SplineSweepXyTransformation class.
Declaration
public SplineSweepXyTransformation(Class<T> rpdType)
Parameters
| Type | Name | Description |
|---|---|---|
| Class<T> | rpdType | Type of associated render pass data. |
SplineSweepXyTransformation(Class<T> rpdType, boolean animateXOnly)
Declaration
public SplineSweepXyTransformation(Class<T> rpdType, boolean animateXOnly)
Parameters
| Type | Name | Description |
|---|---|---|
| Class<T> | rpdType | |
| boolean | animateXOnly |
Methods
addAdditionalValueToTransformedData(int index, float fractionNeeded)
Interpolate and add additional values to transformed renderPassData from originalCoordinates.
Declaration
protected void addAdditionalValueToTransformedData(int index, float fractionNeeded)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of value in the originalCoordinates. |
| float | fractionNeeded | Fraction of line length, which is used to calculate additional values. |
addValueToTransformedData(int index)
Add values to transformed renderPassData from originalCoordinates.
Declaration
protected void addValueToTransformedData(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of value in the originalCoordinates. |
applyTransformation()
Applies this transformation to associated series.
Note: This is used for animations purposes, so you need to take into account BaseRenderPassDataTransformation#getCurrentTransformationValue() as well as BaseRenderPassDataTransformation#getCurrentDelta() during implementing this.
Declaration
protected final void applyTransformation()
Overrides
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceContainer | services |
Overrides
discardTransformation()
Discards this transformation from associated series.
Declaration
protected void discardTransformation()
Overrides
onAnimationStartInternal()
Called on start of animation associated with current transformation
Declaration
protected final void onAnimationStartInternal()
Overrides
onInternalRenderPassDataChanged()
Called when associated series render pass data changed during animation.
Declaration
protected final void onInternalRenderPassDataChanged()
Overrides
prepareDataToTransformation()
Prepares associated render pass data to transformation.
Declaration
protected void prepareDataToTransformation()
saveOriginalData()
Saves original data from render pass data, which supposed to be changed during #applyTransformation() call.
Declaration
protected void saveOriginalData()