motile_plugin.data_views.views.layers.tracks_layer_group
Classes
Module Contents
- class motile_plugin.data_views.views.layers.tracks_layer_group.TracksLayerGroup(viewer: napari.Viewer, tracks: motile_plugin.data_model.tracks.Tracks, name: str, tracks_viewer: motile_plugin.data_views.views_coordinator.tracks_viewer.TracksViewer)
- viewer
- tracks_viewer
- tracks
- name
- tracks_layer: motile_plugin.data_views.views.layers.track_graph.TrackGraph | None = None
- points_layer: motile_plugin.data_views.views.layers.track_points.TrackPoints | None = None
- seg_layer: motile_plugin.data_views.views.layers.track_labels.TrackLabels | None = None
- set_tracks(tracks, name)
- remove_napari_layer(layer: napari.layers.Layer | None) None
Remove a layer from the napari viewer, if present
- remove_napari_layers() None
Remove all tracking layers from the viewer
- add_napari_layers() None
Add new tracking layers to the viewer
- _refresh() None
Refresh the tracking layers with new tracks info
- update_visible(visible: list[int])
- center_view(node)
Adjust the current_step and camera center of the viewer to jump to the node location, if the node is not already in the field of view