TimelinesRenderer class. More...
Public Member Functions | |
def | __init__ (self) |
Initializer. More... | |
def | draw (self, ctx) |
Draw. More... | |
def | draw_events (self, ctx, events, x, y, width, height) |
Draw Event. More... | |
def | draw_line (self, ctx, x, y, width, height) |
Draw Line. More... | |
def | draw_ranges (self, ctx, ranges, x, y, width, height) |
Draw Ranges. More... | |
def | get_data_x_start (self) |
Get Data X Start. More... | |
def | get_height (self) |
Get Height. More... | |
def | layout (self, width) |
Get Data X Start. More... | |
def | set_render_range (self, start, end) |
Set Render Range. More... | |
def | set_timelines (self, timelines, colors) |
Set Timelines. More... | |
Public Attributes | |
colors | |
colors More... | |
end | |
end More... | |
grey_background | |
grey background More... | |
height | |
height More... | |
left_width | |
left width More... | |
max_text_height | |
maximum text height More... | |
padding | |
padding More... | |
right_width | |
right width More... | |
start | |
start More... | |
timelines | |
timelines More... | |
width | |
width More... | |
TimelinesRenderer class.
def grid.TimelinesRenderer.__init__ | ( | self | ) |
def grid.TimelinesRenderer.draw | ( | self, | |
ctx | |||
) |
Draw.
self | this object |
ctx | ctx |
Definition at line 780 of file grid.py.
References grid.TimelinesRenderer.draw_line(), grid.TimelinesRenderer.left_width, grid.TimelinesRenderer.padding, grid.TimelinesRenderer.right_width, ns3::AnimationInterface::NodeSize.width, visualizer.svgitem.SvgItem.width, and grid.TimelinesRenderer.width.
def grid.TimelinesRenderer.draw_events | ( | self, | |
ctx, | |||
events, | |||
x, | |||
y, | |||
width, | |||
height | |||
) |
Draw Event.
self | this object |
ctx | ctx |
events | events |
x | x |
y | y |
width | width |
height | height |
Definition at line 717 of file grid.py.
References nlohmann::detail::iteration_proxy< IteratorType >.end(), nlohmann::detail::iterator_input_adapter< IteratorType >.end, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.end(), ns3::AttributeContainerValue< A, C >.end(), ns3::WifiMacQueueItem.end(), ns3::Config::MatchContainer.end(), ns3::ByteTagList::Iterator::Item.end, anonymous_namespace{packet-test-suite.cc}::Expected.end, ns3::Queue< Item >.end(), ns3::Queue< ns3::Packet >.end(), ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.end, ns3::CtrlTriggerHeader.end(), ns3::PhyEntity.end(), ns3::WifiPsdu.end(), grid.DataRange.end, grid.TimelinesRenderer.end, grid.TimelinesRenderer.grey_background, grid.TimelinesRenderer.max_text_height, grid.ScaleRenderer.max_text_height, grid.TimelinesRenderer.padding, ns3::LteRrcSap::PhysCellIdRange.start, ns3::ByteTagList::Iterator::Item.start, anonymous_namespace{packet-test-suite.cc}::Expected.start, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.start, grid.DataRange.start, and grid.TimelinesRenderer.start.
def grid.TimelinesRenderer.draw_line | ( | self, | |
ctx, | |||
x, | |||
y, | |||
width, | |||
height | |||
) |
Draw Line.
self | this object |
ctx | ctx |
x | x |
y | y |
width | width |
height | height |
Definition at line 700 of file grid.py.
Referenced by grid.TimelinesRenderer.draw().
def grid.TimelinesRenderer.draw_ranges | ( | self, | |
ctx, | |||
ranges, | |||
x, | |||
y, | |||
width, | |||
height | |||
) |
Draw Ranges.
self | this object |
ctx | ctx |
ranges | ranges |
x | x |
y | y |
width | width |
height | height |
Definition at line 746 of file grid.py.
References grid.TimelinesRenderer.colors, nlohmann::detail::iteration_proxy< IteratorType >.end(), nlohmann::detail::iterator_input_adapter< IteratorType >.end, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.end(), ns3::AttributeContainerValue< A, C >.end(), ns3::WifiMacQueueItem.end(), ns3::Config::MatchContainer.end(), ns3::ByteTagList::Iterator::Item.end, anonymous_namespace{packet-test-suite.cc}::Expected.end, ns3::Queue< Item >.end(), ns3::Queue< ns3::Packet >.end(), ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.end, ns3::CtrlTriggerHeader.end(), ns3::PhyEntity.end(), ns3::WifiPsdu.end(), grid.DataRange.end, grid.TimelinesRenderer.end, grid.TimelinesRenderer.grey_background, max, min, grid.TimelinesRenderer.padding, ns3::LteRrcSap::PhysCellIdRange.start, ns3::ByteTagList::Iterator::Item.start, anonymous_namespace{packet-test-suite.cc}::Expected.start, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.start, grid.DataRange.start, and grid.TimelinesRenderer.start.
def grid.TimelinesRenderer.get_data_x_start | ( | self | ) |
Get Data X Start.
self | this object |
Definition at line 647 of file grid.py.
References grid.TimelinesRenderer.left_width, grid.TimelinesRenderer.padding, and grid.TimelinesRenderer.right_width.
def grid.TimelinesRenderer.get_height | ( | self | ) |
Get Height.
self | this object |
Definition at line 623 of file grid.py.
References ns3::AnimationInterface::NodeSize.height, visualizer.svgitem.SvgItem.height, and grid.TimelinesRenderer.height.
def grid.TimelinesRenderer.layout | ( | self, | |
width | |||
) |
Get Data X Start.
self | this object |
width | width |
Definition at line 653 of file grid.py.
References max, grid.TimelinesRenderer.padding, grid.Timelines.timelines, and grid.TimelinesRenderer.timelines.
def grid.TimelinesRenderer.set_render_range | ( | self, | |
start, | |||
end | |||
) |
def grid.TimelinesRenderer.set_timelines | ( | self, | |
timelines, | |||
colors | |||
) |
grid.TimelinesRenderer.colors |
grid.TimelinesRenderer.end |
end
Definition at line 646 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().
grid.TimelinesRenderer.grey_background |
grey background
Definition at line 797 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().
grid.TimelinesRenderer.height |
height
Definition at line 699 of file grid.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), visualizer.svgitem.SvgItem.do_get_property(), visualizer.svgitem.SvgItem.do_simple_is_item_at(), and grid.TimelinesRenderer.get_height().
grid.TimelinesRenderer.left_width |
left width
Definition at line 695 of file grid.py.
Referenced by grid.TimelinesRenderer.draw(), and grid.TimelinesRenderer.get_data_x_start().
grid.TimelinesRenderer.max_text_height |
maximum text height
Definition at line 697 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events().
grid.TimelinesRenderer.padding |
padding
Definition at line 621 of file grid.py.
Referenced by grid.TimelinesRenderer.draw(), grid.TimelinesRenderer.draw_events(), grid.TimelinesRenderer.draw_ranges(), grid.TimelinesRenderer.get_data_x_start(), and grid.TimelinesRenderer.layout().
grid.TimelinesRenderer.right_width |
right width
Definition at line 696 of file grid.py.
Referenced by grid.TimelinesRenderer.draw(), and grid.TimelinesRenderer.get_data_x_start().
grid.TimelinesRenderer.start |
start
Definition at line 645 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().
grid.TimelinesRenderer.timelines |
timelines
Definition at line 636 of file grid.py.
Referenced by grid.Timelines.get(), grid.Timelines.get_all(), grid.Timelines.get_all_range_values(), grid.Timelines.get_bounds(), grid.TimelinesRenderer.layout(), and grid.Timelines.sort().
grid.TimelinesRenderer.width |
width
Definition at line 698 of file grid.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), visualizer.svgitem.SvgItem.do_get_property(), visualizer.svgitem.SvgItem.do_simple_is_item_at(), and grid.TimelinesRenderer.draw().