Belle II Software development
|
Public Member Functions | |
def | __init__ (self, queue) |
def | plot_quad_tree_content (self) |
def | save_and_show_file (self) |
def | init_plotting (self) |
def | event (self) |
def | terminate (self) |
Public Attributes | |
file_name_of_quad_tree_content | |
cached output filename | |
draw_quad_tree_content | |
cached flag to draw QuadTree | |
range_x_min | |
cached minimum x value | |
range_x_max | |
cached maximum x value | |
range_y_min | |
cached minimum y value | |
range_y_max | |
cached maximum y value | |
queue | |
cached value of the queue input parameter | |
file_names | |
cached array of output filenames (one file per image) | |
This Module is able to draw the content coming from a QuadTreeImplementation with debugOutput = True.
Definition at line 24 of file quadTreePlotter.py.
def __init__ | ( | self, | |
queue | |||
) |
Do not forget to set the ranges! Otherwise you will end up with an empty plot..
Reimplemented in QueueStereoQuadTreePlotter.
Definition at line 29 of file quadTreePlotter.py.
def event | ( | self | ) |
Draw everything
Reimplemented in SegmentQuadTreePlotter, and StereoQuadTreePlotter.
Definition at line 112 of file quadTreePlotter.py.
def init_plotting | ( | self | ) |
Initialize the figure with the plot ranges We need to implement axes labels later!
Definition at line 103 of file quadTreePlotter.py.
def plot_quad_tree_content | ( | self | ) |
Draw the quad tree content coming from the root file if enabled.
Definition at line 52 of file quadTreePlotter.py.
def save_and_show_file | ( | self | ) |
Save the plot to a svg and show it (maybe a png would be better?)
Reimplemented in QueueStereoQuadTreePlotter.
Definition at line 95 of file quadTreePlotter.py.
def terminate | ( | self | ) |
Termination signal at the end of the event processing
Reimplemented in QueueStereoQuadTreePlotter.
Definition at line 120 of file quadTreePlotter.py.
draw_quad_tree_content |
cached flag to draw QuadTree
Definition at line 37 of file quadTreePlotter.py.
file_name_of_quad_tree_content |
cached output filename
Definition at line 35 of file quadTreePlotter.py.
file_names |
cached array of output filenames (one file per image)
Definition at line 50 of file quadTreePlotter.py.
queue |
cached value of the queue input parameter
Definition at line 48 of file quadTreePlotter.py.
range_x_max |
cached maximum x value
Definition at line 41 of file quadTreePlotter.py.
range_x_min |
cached minimum x value
Definition at line 39 of file quadTreePlotter.py.
range_y_max |
cached maximum y value
Definition at line 45 of file quadTreePlotter.py.
range_y_min |
cached minimum y value
Definition at line 43 of file quadTreePlotter.py.