Public Member Functions | |
def | __init__ |
def | close |
def | draw_timeline_segment |
def | get_segment_height |
Public Attributes | |
msg_combine_px | |
timeline |
A custom renderer for interval of time of a topic on the timeline. @param msg_combine_px: don't draw discrete messages if they're less than this many pixels separated [default: 1.5] @type msg_combine_px: float
Definition at line 33 of file timeline_renderer.py.
def rxbag::plugin::timeline_renderer::TimelineRenderer::__init__ | ( | self, | |
timeline, | |||
msg_combine_px = 1.5 |
|||
) |
Definition at line 40 of file timeline_renderer.py.
Close the renderer, releasing any resources.
Definition at line 72 of file timeline_renderer.py.
def rxbag::plugin::timeline_renderer::TimelineRenderer::draw_timeline_segment | ( | self, | |
dc, | |||
topic, | |||
stamp_start, | |||
stamp_end, | |||
x, | |||
y, | |||
width, | |||
height | |||
) |
Draw the timeline segment. @param dc: Cairo context to render into @param topic: topic name @param stamp_start: start of the interval on the timeline @param stamp_end: start of the interval on the timeline @param x: x coordinate of the timeline interval @param y: y coordinate of the timeline interval @param width: width in pixels of the timeline interval @param height: height in pixels of the timeline interval @return: whether the interval was renderered @rtype: bool
Definition at line 55 of file timeline_renderer.py.
def rxbag::plugin::timeline_renderer::TimelineRenderer::get_segment_height | ( | self, | |
topic | |||
) |
Get the height of the topic segment on the timeline. @param topic: topic name to draw @type topic: str @return: height in pixels of the topic segment. If none, the timeline default is used. @rtype: int or None
Definition at line 44 of file timeline_renderer.py.
Definition at line 40 of file timeline_renderer.py.
Definition at line 40 of file timeline_renderer.py.