Public Member Functions | |
def | __init__ (self, bag_timeline) |
def | boundingRect (self) |
def | can_zoom (self, desired_zoom) |
def | can_zoom_in (self) |
def | can_zoom_out (self) |
def | emit_play_region (self) |
def | end_stamp (self) |
def | get_renderers (self) |
def | get_viewer_types (self, datatype) |
def | get_zoom_interval (self, zoom, center=None) |
def | handle_close (self) |
def | has_selected_region (self) |
def | is_renderer_active (self, topic) |
def | load_plugins (self) |
def | map_dstamp_to_dx (self, dstamp) |
def | map_dx_to_dstamp (self, dx) |
def | map_stamp_to_x (self, stamp, clamp_to_visible=True) |
def | map_x_to_stamp (self, x, clamp_to_visible=True) |
def | map_y_to_topic (self, y) |
def | on_left_down (self, event) |
def | on_middle_down (self, event) |
def | on_mouse_move (self, event) |
def | on_mouse_up (self, event) |
def | on_mousewheel (self, event) |
def | paint (self, painter, option, widget) |
def | pause (self) |
def | play_region (self) |
def | reset_timeline (self) |
def | reset_zoom (self) |
def | resume (self) |
def | set_renderer_active (self, topic, active) |
def | set_renderers_active (self, active) |
def | set_timeline_view (self, stamp_left, stamp_right) |
def | start_stamp (self) |
def | toggle_renderers (self) |
def | translate_timeline (self, dstamp) |
def | translate_timeline_left (self) |
def | translate_timeline_right (self) |
def | zoom_in (self) |
def | zoom_out (self) |
def | zoom_timeline (self, zoom, center=None) |
Public Attributes | |
index_cache | |
index_cache_cv | |
invalidated_caches | |
plugin_provider | |
topics | |
Properties | |
playhead = property(_get_playhead, _set_playhead) | |
Private Member Functions | |
def | _draw_bag_ends (self, painter) |
def | _draw_history_border (self, painter) |
def | _draw_major_divisions (self, painter, stamps, start_stamp, division) |
def | _draw_minor_divisions (self, painter, stamps, start_stamp, division) |
def | _draw_playhead (self, painter) |
def | _draw_selected_region (self, painter) |
def | _draw_time_divisions (self, painter) |
def | _draw_topic_dividers (self, painter) |
def | _draw_topic_histories (self, painter) |
def | _draw_topic_history (self, painter, topic) |
def | _draw_topic_names (self, painter) |
def | _find_regions (self, stamps, max_interval) |
def | _get_label (self, division, elapsed) |
def | _get_playhead (self) |
def | _get_stamps (self, start_stamp, stamp_step) |
def | _history_right (self) |
def | _layout (self) |
def | _qfont_width (self, name) |
def | _set_playhead (self, playhead) |
def | _trimmed_topic_name (self, topic_name) |
def | _update_index_cache (self, topic) |
TimelineFrame Draws the framing elements for the bag messages (time delimiters, labels, topic names and backgrounds). Also handles mouse callbacks since they interact closely with the drawn elements
Definition at line 66 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.__init__ | ( | self, | |
bag_timeline | |||
) |
Definition at line 74 of file timeline_frame.py.
|
private |
Draw markers to indicate the area the bag file represents within the current visible area. :param painter: allows access to paint functions,''QPainter''
Definition at line 495 of file timeline_frame.py.
|
private |
Draw a simple black rectangle frame around the timeline view area :param painter: ,''QPainter''
Definition at line 599 of file timeline_frame.py.
|
private |
Draw black hashed vertical grid-lines showing major time divisions. :param painter: allows access to paint functions,''QPainter''
Definition at line 658 of file timeline_frame.py.
|
private |
Draw grey hashed vertical grid-lines showing minor time divisions. :param painter: allows access to paint functions,''QPainter''
Definition at line 682 of file timeline_frame.py.
|
private |
Draw a line and 2 triangles to denote the current position being viewed :param painter: ,''QPainter''
Definition at line 573 of file timeline_frame.py.
|
private |
Draws a box around the selected region :param painter: allows access to paint functions,''QPainter''
Definition at line 534 of file timeline_frame.py.
|
private |
Draw vertical grid-lines showing major and minor time divisions. :param painter: allows access to paint functions,''QPainter''
Definition at line 629 of file timeline_frame.py.
|
private |
Draws horizontal lines between each topic to visually separate the messages :param painter: allows access to paint functions,''QPainter''
Definition at line 510 of file timeline_frame.py.
|
private |
Draw all topic messages :param painter: allows access to paint functions,''QPainter''
Definition at line 396 of file timeline_frame.py.
|
private |
Draw boxes corrisponding to message regions on the timeline. :param painter: allows access to paint functions,''QPainter'' :param topic: the topic for which message boxes should be drawn, ''str''
Definition at line 404 of file timeline_frame.py.
|
private |
Calculate positions of existing topic names and draw them on the left, one for each row :param painter: ,''QPainter''
Definition at line 614 of file timeline_frame.py.
|
private |
Group timestamps into regions connected by timestamps less than max_interval secs apart :param start_stamp: a list of stamps, ''list'' :param stamp_step: seconds between each division, ''int''
Definition at line 846 of file timeline_frame.py.
|
private |
:param division: number of seconds in a division, ''int'' :param elapsed: seconds from the beginning, ''int'' :returns: relevent time elapsed string, ''str''
Definition at line 883 of file timeline_frame.py.
|
private |
Definition at line 199 of file timeline_frame.py.
|
private |
Generate visible stamps every stamp_step :param start_stamp: beginning of timeline stamp, ''int'' :param stamp_step: seconds between each division, ''int''
Definition at line 867 of file timeline_frame.py.
|
private |
Definition at line 253 of file timeline_frame.py.
|
private |
Recalculates the layout of the of the timeline to take into account any changes that have occured
Definition at line 346 of file timeline_frame.py.
|
private |
Definition at line 305 of file timeline_frame.py.
|
private |
Sets the playhead to the new position, notifies the threads and updates the scene so it will redraw :signal: emits status_bar_changed_signal if the playhead is successfully set :param playhead: Time to set the playhead to, ''rospy.Time()''
Definition at line 202 of file timeline_frame.py.
|
private |
This function trims the topic name down to a reasonable percentage of the viewable scene area
Definition at line 308 of file timeline_frame.py.
|
private |
Updates the cache of message timestamps for the given topic. :return: number of messages added to the index cache
Definition at line 809 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.boundingRect | ( | self | ) |
Definition at line 282 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.can_zoom | ( | self, | |
desired_zoom | |||
) |
Definition at line 1018 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.can_zoom_in | ( | self | ) |
Definition at line 1012 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.can_zoom_out | ( | self | ) |
Definition at line 1015 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.emit_play_region | ( | self | ) |
Definition at line 268 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.end_stamp | ( | self | ) |
Definition at line 278 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.get_renderers | ( | self | ) |
:returns: a list of the currently loaded renderers for the plugins
Definition at line 767 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.get_viewer_types | ( | self, | |
datatype | |||
) |
Definition at line 708 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.get_zoom_interval | ( | self, | |
zoom, | |||
center = None |
|||
) |
@rtype: tuple @requires: left & right zoom interval sizes.
Definition at line 1044 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.handle_close | ( | self | ) |
Definition at line 701 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.has_selected_region | ( | self | ) |
Definition at line 257 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.is_renderer_active | ( | self, | |
topic | |||
) |
Definition at line 780 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.load_plugins | ( | self | ) |
Definition at line 711 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.map_dstamp_to_dx | ( | self, | |
dstamp | |||
) |
Definition at line 957 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.map_dx_to_dstamp | ( | self, | |
dx | |||
) |
converts a distance in pixel space to a distance in stamp space :param dx: distance in pixel space to be converted, ''int'' :returns: distance in stamp space, ''float''
Definition at line 932 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.map_stamp_to_x | ( | self, | |
stamp, | |||
clamp_to_visible = True |
|||
) |
converts a timestamp to the x value where that stamp exists in the timeline :param stamp: timestamp to be converted, ''int'' :param clamp_to_visible: disallow values that are greater than the current timeline bounds,''bool'' :returns: # of pixels from the left boarder, ''int''
Definition at line 940 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.map_x_to_stamp | ( | self, | |
x, | |||
clamp_to_visible = True |
|||
) |
converts a pixel x value to a stamp :param x: pixel value to be converted, ''int'' :param clamp_to_visible: disallow values that are greater than the current timeline bounds,''bool'' :returns: timestamp, ''int''
Definition at line 914 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.map_y_to_topic | ( | self, | |
y | |||
) |
Definition at line 960 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_left_down | ( | self, | |
event | |||
) |
Definition at line 1084 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_middle_down | ( | self, | |
event | |||
) |
Definition at line 1080 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_mouse_move | ( | self, | |
event | |||
) |
Definition at line 1152 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_mouse_up | ( | self, | |
event | |||
) |
Definition at line 1129 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_mousewheel | ( | self, | |
event | |||
) |
Definition at line 1144 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.paint | ( | self, | |
painter, | |||
option, | |||
widget | |||
) |
Definition at line 288 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.pause | ( | self | ) |
Definition at line 1072 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.play_region | ( | self | ) |
Definition at line 261 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.reset_timeline | ( | self | ) |
Definition at line 968 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.reset_zoom | ( | self | ) |
Definition at line 995 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.resume | ( | self | ) |
Definition at line 1075 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.set_renderer_active | ( | self, | |
topic, | |||
active | |||
) |
Definition at line 796 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.set_renderers_active | ( | self, | |
active | |||
) |
Definition at line 788 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.set_timeline_view | ( | self, | |
stamp_left, | |||
stamp_right | |||
) |
Definition at line 980 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.start_stamp | ( | self | ) |
Definition at line 274 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.toggle_renderers | ( | self | ) |
Definition at line 783 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.translate_timeline | ( | self, | |
dstamp | |||
) |
Definition at line 984 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.translate_timeline_left | ( | self | ) |
Definition at line 988 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.translate_timeline_right | ( | self | ) |
Definition at line 991 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.zoom_in | ( | self | ) |
Definition at line 1006 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.zoom_out | ( | self | ) |
Definition at line 1009 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.zoom_timeline | ( | self, | |
zoom, | |||
center = None |
|||
) |
Definition at line 1035 of file timeline_frame.py.
|
private |
Definition at line 157 of file timeline_frame.py.
|
private |
Definition at line 97 of file timeline_frame.py.
|
private |
Definition at line 76 of file timeline_frame.py.
|
private |
Definition at line 77 of file timeline_frame.py.
|
private |
Definition at line 147 of file timeline_frame.py.
|
private |
Definition at line 144 of file timeline_frame.py.
|
private |
Definition at line 146 of file timeline_frame.py.
|
private |
Definition at line 156 of file timeline_frame.py.
|
private |
Definition at line 145 of file timeline_frame.py.
|
private |
Definition at line 78 of file timeline_frame.py.
|
private |
Definition at line 82 of file timeline_frame.py.
|
private |
Definition at line 99 of file timeline_frame.py.
|
private |
Definition at line 98 of file timeline_frame.py.
|
private |
Definition at line 88 of file timeline_frame.py.
|
private |
Definition at line 89 of file timeline_frame.py.
|
private |
Definition at line 86 of file timeline_frame.py.
|
private |
Definition at line 85 of file timeline_frame.py.
|
private |
Definition at line 87 of file timeline_frame.py.
|
private |
Definition at line 192 of file timeline_frame.py.
|
private |
Definition at line 116 of file timeline_frame.py.
|
private |
Definition at line 115 of file timeline_frame.py.
|
private |
Definition at line 114 of file timeline_frame.py.
|
private |
Definition at line 92 of file timeline_frame.py.
|
private |
Definition at line 90 of file timeline_frame.py.
|
private |
Definition at line 91 of file timeline_frame.py.
|
private |
Definition at line 180 of file timeline_frame.py.
|
private |
Definition at line 178 of file timeline_frame.py.
|
private |
Definition at line 179 of file timeline_frame.py.
|
private |
Definition at line 177 of file timeline_frame.py.
|
private |
Definition at line 117 of file timeline_frame.py.
|
private |
Definition at line 118 of file timeline_frame.py.
|
private |
Definition at line 113 of file timeline_frame.py.
|
private |
Definition at line 170 of file timeline_frame.py.
|
private |
Definition at line 169 of file timeline_frame.py.
|
private |
Definition at line 173 of file timeline_frame.py.
|
private |
Definition at line 172 of file timeline_frame.py.
|
private |
Definition at line 171 of file timeline_frame.py.
|
private |
Definition at line 185 of file timeline_frame.py.
|
private |
Definition at line 352 of file timeline_frame.py.
|
private |
Definition at line 108 of file timeline_frame.py.
|
private |
Definition at line 164 of file timeline_frame.py.
|
private |
Definition at line 160 of file timeline_frame.py.
|
private |
Definition at line 162 of file timeline_frame.py.
|
private |
Definition at line 161 of file timeline_frame.py.
|
private |
Definition at line 165 of file timeline_frame.py.
|
private |
Definition at line 163 of file timeline_frame.py.
|
private |
Definition at line 166 of file timeline_frame.py.
|
private |
Definition at line 83 of file timeline_frame.py.
|
private |
Definition at line 84 of file timeline_frame.py.
|
private |
Definition at line 81 of file timeline_frame.py.
|
private |
Definition at line 139 of file timeline_frame.py.
|
private |
Definition at line 137 of file timeline_frame.py.
|
private |
Definition at line 138 of file timeline_frame.py.
|
private |
Definition at line 136 of file timeline_frame.py.
|
private |
Definition at line 184 of file timeline_frame.py.
|
private |
Definition at line 128 of file timeline_frame.py.
|
private |
Definition at line 123 of file timeline_frame.py.
|
private |
Definition at line 127 of file timeline_frame.py.
|
private |
Definition at line 133 of file timeline_frame.py.
|
private |
Definition at line 124 of file timeline_frame.py.
|
private |
Definition at line 126 of file timeline_frame.py.
|
private |
Definition at line 131 of file timeline_frame.py.
|
private |
Definition at line 122 of file timeline_frame.py.
|
private |
Definition at line 183 of file timeline_frame.py.
|
private |
Definition at line 176 of file timeline_frame.py.
rqt_bag.timeline_frame.TimelineFrame.index_cache |
Definition at line 190 of file timeline_frame.py.
rqt_bag.timeline_frame.TimelineFrame.index_cache_cv |
Definition at line 189 of file timeline_frame.py.
rqt_bag.timeline_frame.TimelineFrame.invalidated_caches |
Definition at line 191 of file timeline_frame.py.
rqt_bag.timeline_frame.TimelineFrame.plugin_provider |
Definition at line 713 of file timeline_frame.py.
rqt_bag.timeline_frame.TimelineFrame.topics |
Definition at line 121 of file timeline_frame.py.
|
static |
Definition at line 249 of file timeline_frame.py.