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 65 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.__init__ | ( | self | ) |
Definition at line 70 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_bag_ends | ( | self, | |
painter | |||
) | [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 421 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_history_border | ( | self, | |
painter | |||
) | [private] |
Draw a simple black rectangle frame around the timeline view area :param painter: ,''QPainter''
Definition at line 520 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_major_divisions | ( | self, | |
painter, | |||
stamps, | |||
start_stamp, | |||
division | |||
) | [private] |
Draw black hashed vertical grid-lines showing major time divisions. :param painter: allows access to paint functions,''QPainter''
Definition at line 576 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_minor_divisions | ( | self, | |
painter, | |||
stamps, | |||
start_stamp, | |||
division | |||
) | [private] |
Draw grey hashed vertical grid-lines showing minor time divisions. :param painter: allows access to paint functions,''QPainter''
Definition at line 600 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_playhead | ( | self, | |
painter | |||
) | [private] |
Draw a line and 2 triangles to denote the current position being viewed :param painter: ,''QPainter''
Definition at line 496 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_selected_region | ( | self, | |
painter | |||
) | [private] |
Draws a box around the selected region :param painter: allows access to paint functions,''QPainter''
Definition at line 457 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_time_divisions | ( | self, | |
painter | |||
) | [private] |
Draw vertical grid-lines showing major and minor time divisions. :param painter: allows access to paint functions,''QPainter''
Definition at line 549 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_topic_dividers | ( | self, | |
painter | |||
) | [private] |
Draws horizontal lines between each topic to visually separate the messages :param painter: allows access to paint functions,''QPainter''
Definition at line 433 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_topic_histories | ( | self, | |
painter | |||
) | [private] |
Draw all topic messages :param painter: allows access to paint functions,''QPainter''
Definition at line 330 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_topic_history | ( | self, | |
painter, | |||
topic | |||
) | [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 338 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._draw_topic_names | ( | self, | |
painter | |||
) | [private] |
Calculate positions of existing topic names and draw them on the left, one for each row :param painter: ,''QPainter''
Definition at line 534 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._find_regions | ( | self, | |
stamps, | |||
max_interval | |||
) | [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 717 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._get_label | ( | self, | |
division, | |||
elapsed | |||
) | [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 753 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._get_playhead | ( | self | ) | [private] |
Definition at line 189 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._get_stamps | ( | self, | |
start_stamp, | |||
stamp_step | |||
) | [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 738 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._history_right | ( | self | ) | [private] |
Definition at line 238 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._layout | ( | self | ) | [private] |
Recalculates the layout of the of the timeline to take into account any changes that have occured
Definition at line 281 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._set_playhead | ( | self, | |
playhead | |||
) | [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 192 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame._update_index_cache | ( | self, | |
topic | |||
) | [private] |
Updates the cache of message timestamps for the given topic. :return: number of messages added to the index cache
Definition at line 680 of file timeline_frame.py.
Definition at line 261 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.can_zoom | ( | self, | |
desired_zoom | |||
) |
Definition at line 877 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.can_zoom_in | ( | self | ) |
Definition at line 871 of file timeline_frame.py.
Definition at line 874 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.end_stamp | ( | self | ) |
Definition at line 257 of file timeline_frame.py.
:returns: a list of the currently loaded renderers for the plugins
Definition at line 638 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.get_viewer_types | ( | self, | |
datatype | |||
) |
Definition at line 626 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.get_zoom_interval | ( | self, | |
zoom | |||
) |
Definition at line 903 of file timeline_frame.py.
Definition at line 619 of file timeline_frame.py.
Definition at line 242 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.is_renderer_active | ( | self, | |
topic | |||
) |
Definition at line 651 of file timeline_frame.py.
Definition at line 629 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.map_dstamp_to_dx | ( | self, | |
dstamp | |||
) |
Definition at line 825 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 801 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 809 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 784 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_left_down | ( | self, | |
event | |||
) |
Definition at line 930 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_middle_down | ( | self, | |
event | |||
) |
Definition at line 926 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_mouse_move | ( | self, | |
event | |||
) |
Definition at line 987 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_mouse_up | ( | self, | |
event | |||
) |
Definition at line 972 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.on_mousewheel | ( | self, | |
event | |||
) |
Definition at line 983 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.paint | ( | self, | |
painter, | |||
option, | |||
widget | |||
) |
Definition at line 264 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.play_region | ( | self | ) |
Definition at line 246 of file timeline_frame.py.
Definition at line 829 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.reset_zoom | ( | self | ) |
Definition at line 854 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.set_renderer_active | ( | self, | |
topic, | |||
active | |||
) |
Definition at line 667 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.set_renderers_active | ( | self, | |
active | |||
) |
Definition at line 659 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.set_timeline_view | ( | self, | |
stamp_left, | |||
stamp_right | |||
) |
Definition at line 839 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.start_stamp | ( | self | ) |
Definition at line 253 of file timeline_frame.py.
Definition at line 654 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.translate_timeline | ( | self, | |
dstamp | |||
) |
Definition at line 843 of file timeline_frame.py.
Definition at line 847 of file timeline_frame.py.
Definition at line 850 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.zoom_in | ( | self | ) |
Definition at line 865 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.zoom_out | ( | self | ) |
Definition at line 868 of file timeline_frame.py.
def rqt_bag.timeline_frame.TimelineFrame.zoom_timeline | ( | self, | |
zoom | |||
) |
Definition at line 894 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
Definition at line 70 of file timeline_frame.py.
rqt_bag::timeline_frame.TimelineFrame::playhead = property(_get_playhead, _set_playhead) [static] |
Definition at line 234 of file timeline_frame.py.