Repository navigation
Code
Every Java class of the plugin has a page with the full source and short explanations inside the listing, followed by the purpose, how it works, and its particulars. The production code in src/main/java/... is intentionally clean (no JavaDoc and no comments) — all the description lives here.
The pages follow the same order as the "Previous / Next" navigation: the plugin entry point, then the indicators in registration order (VelitaskPlagin.defineIndicators()), then the helper classes by package: map figures, slope analytics, charts, slider, G-force, source previews, and data processing on import (pause formulas, filters, compression, import plans). The format in which an indicator is saved in a project and in a template is on its JSON page.
- GeoFigureContext — the shared figure context: projects latitude and longitude to pixels, taking the map rotation and tilt into account.
- GeoTrackFigure — the track.
- GeoPositionFigure — the current position marker.
- GeoPlaceBoundaryFigure — settlement boundaries.
- GeoPlaceLabelsFigure — settlement labels.
- SlopeDetector — splits the track into groups of climbs, descents and flats when a source is imported.
- SlopeGroup — the accumulator of a single group.
- SlopeGroupAtom — a row of the group table in the plugin database.
- MillimetersChart — converts distance millimeters to pixels for the charts.
- SliderTimeMode — the time mode of slides.
- SliderAppearanceIn — appearance effects.
- SliderAppearanceOut — disappearance effects.
- SliderSegmentKind — the kind of a schedule segment.
- SliderSegment — a schedule segment.
- SliderTimelineMap — the schedule of slides and pauses.
- GForcePause — what to show in the "G-force" and "G-force Text" indicators when the frame time falls into a recording pause.
The preview generators are registered in VelitaskPlagin.definePreviewGenerators() and build a programmatic thumbnail template from a single indicator layer.
- VideoPreviewGenerator — video file previews: a layer of the "Video" indicator.
- ImagePreviewGenerator — image previews: a layer of the "Image" indicator.
- AudioPreviewGenerator — audio file previews: a layer of the "Audio" indicator.
- GeoPreviewGenerator — geodata previews: a layer of the "Map" indicator.
Processing formulas (pauses, filters, compression) and the import plans that the plugin hands to the application through defineImportSteps() and defineImportPlans().
- FormulaParameters — the factory methods the formulas use to create their parameters.
- BuiltinScenarios — the single place where the plugin lists the steps (formulas) and the import plans.
For each kind of source, a plan defines the stages and the values for each sensor.
- GpxImportPlan — GPX tracks.
- FitImportPlan — FIT activity files.
- TcxImportPlan — TCX workout files.
- TmgImportPlan — TMG telemetry recordings.
- GoproImportPlan — telemetry from GoPro clips.
- DjiImportPlan — telemetry inside DJI video files.
- DjiSrtImportPlan — DJI telemetry from an SRT subtitle file.
- StepGaps — "Pauses by recording gap": a pause where noticeably more time passed between neighbouring points than usual.
- ExplicitGaps — "Pauses from the file": only the pauses recorded by the device itself.
- UnchangedGaps — "Pauses by frozen value": the sensor value did not change for longer than the given time.
- FollowGaps — "Pauses as in the reference sensor": repeats the pauses of another sensor of the source.
- ThresholdGaps — the base of the formulas with two thresholds: stop and movement.
- SpeedThresholdGaps — "Pauses by stop: speed".
- StayGaps — the base of the "stay" formulas: points within a radius for longer than the given time.
- GeoStayGaps — "Pauses at a stop: GPS".
- ValueFilter — the base of the filters that change a single numeric value without deleting atoms.
- BadPointFilter — the base of the "Bad … points" family: deletes values that cannot be trusted.
- GeoBadPointFilter — "Bad GPS points".
- HeartBadPointFilter — "Bad heart rate points".
- SpeedBadPointFilter — "Bad speed points".
- CyclingPowerBadPointFilter — "Bad power points".
- PowerBalanceBadPointFilter — "Bad power balance points".
- ElevationBadPointFilter — "Bad elevation points".
- SlopeBadPointFilter — "Bad slope points".
- ExponentialFilter — the base of the "Gradual smoothing" filters.
- SpeedExponentialFilter — "Gradual smoothing: speed".
- DriftFilter — the base of the "Drift … at a stop" filters.
- SpeedDriftFilter — "Speed drift at a stop".
- StayFilter — the base of the "Stop at a single point" filters.
- GeoStayFilter — "Stop at a single point: GPS".
- WindowAverage — the shared calculation block of average smoothing (not an import step).
- AverageFilter — the base of "Smoothing by average" for sensors with a single number per atom.
- SpeedAverageFilter — "Smoothing by average: speed".
- VectorAverageFilter — the base of "Smoothing by average" for sensors with several numbers per atom.
- AccelAverageFilter — "Smoothing by average: acceleration".
- GyroAverageFilter — "Smoothing by average: rotation".
- OrientAverageFilter — "Smoothing by average: camera orientation".
- AttitudeAverageFilter — "Smoothing by average: angles".
- SameValueCompress — "Data compression": merges consecutive identical points, the values do not change.
- ToleranceCompress — the base of "Tolerance compression" for sensors with several components.
- AccelToleranceCompress — "Tolerance compression: acceleration".
- GyroToleranceCompress — "Tolerance compression: rotation".
- OrientToleranceCompress — "Tolerance compression: camera orientation".
- AttitudeToleranceCompress — "Tolerance compression: angles".