Layer Group
app.domain.video.layer_groupData tab enumeration for UI tab selection.
See Also
VideoDataLayer— individual data layers grouped for displayRightControlPanel— presents layer-group controls
Layer: Domain. Context: Defines application concepts independently of UI and infrastructure implementations.
VideoDataLayerGroup
Bases: int, Enum
Enumeration for the two main data tabs in the UI.
Note
DETECTION maps to Layer B for user-edited detections and
TRACKING maps to Layer D for user-edited tracks. The enum helps route
operations to the correct service, determine the active data table, and
control which boxes are shown in the preview container.
Example
if tab == VideoDataLayerGroup.TRACKING: tracking_service.delete_tracks(s_id, keys) else: detection_service.delete_detections(s_id, keys)
Layer: Domain. Context: Represents application concepts without UI or infrastructure dependencies.