Class: InkBuilderAbstract
(abstract) PathBuilding.InkBuilderAbstract()
Path builder
Constructor
(abstract) new InkBuilderAbstract()
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
pointerID | int | Pointer identifier associated with path building | ||
prediction | boolean | <optional> | true | When is true pipeline computes prediction, low performance devices could disable this behaviour |
device | InkInput.InputDevice | When is configured sensor data collection is enabled | ||
pipeline | PathBuilding.PipelineData | Stroke pipeline |
Methods
abort()
Aborts pipeline processing. Reset state and start over.When InputDevice is configured close streams with true as aborted argument.
add(additionSensorPoint, predictionSensorPointopt)
Adds input in pipeline to be processed
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
additionSensorPoint | InkInput.SensorPoint | ||
predictionSensorPoint | InkInput.SensorPoint | <optional> |
(abstract) build()
Process data segment through the pipeline
configure(settings)
Configures ink building process
Parameters:
Name | Type | Description |
---|---|---|
settings | PathBuilding.InkBuilderSettings |
ignore(sensorPoint)
This method is relevant with underlying InputDevice when is configured.When device has very high input rate, some of samples could be ignored (downsampling).This could affect performance, even to make stroke looks better.This input should be registerd in the ink stream without to affect pipeline.
Parameters:
Name | Type | Description |
---|---|---|
sensorPoint | InkInput.SensorPoint |
(abstract) processSegment()
Process segment through the pipeline