Class: SplineInterpolator
(abstract) PathBuilding.Pipeline.SplineInterpolator()
Catmull-Rom spline interpolator.Provided with Catmull-Rom spline control points, produces multiple sample points of the same kind along the spline trajectory.
Constructor
(abstract) new SplineInterpolator()
Since:
- version 3.0
Extends
Methods
(abstract) discretize()
process(input, typeopt, lastSegmentopt)
Invokes input processing of particular implementation
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
input | PathBuilding.Pipeline.Input | Newly added stroke data that must be processed | ||
type | PathBuilding.Pipeline.SegmentType | <optional> | DataSequenceProcessor.SegmentType.INTEGRAL | Input type |
lastSegment | boolean | <optional> | true | Applicable for SegmentType.ADDITION only, describe end of the input |
Overrides:
reset()
Resets the processor to its initial state
Overrides:
Type Definitions
Input
SplineInterpolator input type
Type:
Output
SplineInterpolator output type
Type:
PipelineStage
Type:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
index | int | <optional> | 4 | |
previous | PathBuilding.Pipeline.SplineProducer | |||
next | PathBuilding.Pipeline.BrushApplier | <optional> |