robokudo.vis.visualizer¶
Classes¶
Module Contents¶
- class robokudo.vis.visualizer.Visualizer(pipeline: robokudo.pipeline.Pipeline, shared_visualizer_state=None)¶
-
Bases:
object
-
Bases:
Observable
A SharedState for single-view annotators. They can switch between all Annotators to visualize a single ‘active’ Annotator.
An Observer pattern is used to notify Visualizers that the to-be-shown content has to be updated due to processed inputs. It is NOT used for new data.
- instances = []¶
- pipeline¶
- indicate_termination_var = False¶
- update_output = True¶
- new_data = False¶
- rk_logger = None¶
- pre_tick()¶
- tick()¶
-
The main method of each Visualizer. It is responsible for creating the necessary outputs that the Visualizer should show.
- post_tick()¶
- static static_post_tick()¶
-
This method is intended to be only called once per Visualizer Type, independent of the amount of same-typed Visualizers
- classmethod new_visualizer_instance(pipeline: robokudo.pipeline.Pipeline, shared_visualizer_state=None)¶
- static clear_visualizer_instances()¶
- insert_input()¶
- activate_update_output()¶
- new_data_available()¶
-
The caller tells this Visualizer, that new data is available for retrieval.
- indicate_termination()¶
-
This indicates the caller if this Visualizer thinks the program execution should be terminated.
- static get_unique_types_of_visualizer_instances()¶
- update_output_flag_for_new_data() None ¶
-
If this Visualizer gets new data, set the update flag for rendering purposes accordingly.
- get_visualized_annotator_outputs_for_pipeline() robokudo.annotators.outputs.AnnotatorOutputs ¶
-