RPContinuousVisualTrackingActivity
A Multiple Object Tracking Test
- Inheritance
-
- Object
- Serializable
- RPStep
- RPActivityStep
- RPContinuousVisualTrackingActivity
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
RPContinuousVisualTrackingActivity.fromJson
RPContinuousVisualTrackingActivity
Properties
amountOfDots
Amount of dots to be displayed. Default is 5.
amountOfTargets
Amount of targets to be displayed. Default is 2.
dotSize
Size of the dots in pixels. Default is 100.
fromJsonFunction
The function which can convert a JSON string to an object of this type.
lengthOfTest
Test duration in seconds. Default is 90 seconds.
numberOfTests
Amount of test repetitions. Default is 3.
trackingSpeed
The speed of the dots in seconds. Default is 5 seconds per move.
Methods
calculateScore
The result of this activity is a list of mistakes for each test repetition. The list is empty if no mistakes were made. For every repetition with 0 mistakes a score of 1 is added. The final score is the sum of repetitions with 0 mistakes.
stepBody
- dynamic onResultChange(
- dynamic
- RPActivityEventLogger eventLogger
Initiates the UI component for an ActivityStep.
All classes extending an activity step should override this with their own UI components.
toJson
Return a JSON encoding of this object.