$search

rxbag::plugin::timeline_renderer::TimelineRenderer Class Reference

List of all members.

Public Member Functions

def __init__
def close
def draw_timeline_segment
def get_segment_height

Public Attributes

 msg_combine_px
 timeline

Detailed Description

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 36 of file timeline_renderer.py.


Member Function Documentation

def rxbag::plugin::timeline_renderer::TimelineRenderer::__init__ (   self,
  timeline,
  msg_combine_px = 1.5 
)

Definition at line 43 of file timeline_renderer.py.

def rxbag::plugin::timeline_renderer::TimelineRenderer::close (   self  ) 
Close the renderer, releasing any resources.

Definition at line 75 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 58 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 47 of file timeline_renderer.py.


Member Data Documentation

Definition at line 45 of file timeline_renderer.py.

Definition at line 44 of file timeline_renderer.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


rxbag
Author(s): Tim Field
autogenerated on Sat Mar 2 13:31:20 2013