TimelinesRenderer class. More...
Public Member Functions | |
__init__ (self) | |
Initializer. | |
draw (self, ctx) | |
Draw. | |
draw_events (self, ctx, events, x, y, width, height) | |
Draw Event. | |
draw_line (self, ctx, x, y, width, height) | |
Draw Line. | |
draw_ranges (self, ctx, ranges, x, y, width, height) | |
Draw Ranges. | |
get_data_x_start (self) | |
Get Data X Start. | |
get_height (self) | |
Get Height. | |
layout (self, width) | |
Get Data X Start. | |
set_render_range (self, start, end) | |
Set Render Range. | |
set_timelines (self, timelines, colors) | |
Set Timelines. | |
Public Attributes | |
colors | |
colors | |
end | |
end | |
grey_background | |
grey background | |
height | |
height | |
left_width | |
left width | |
max_text_height | |
maximum text height | |
padding | |
padding | |
right_width | |
right width | |
start | |
start | |
timelines | |
timelines | |
width | |
width | |
TimelinesRenderer class.
grid.TimelinesRenderer.__init__ | ( | self | ) |
grid.TimelinesRenderer.draw | ( | self, | |
ctx ) |
Draw.
self | this object |
ctx | ctx |
Definition at line 847 of file grid.py.
References grid.TimelinesRenderer.draw_line(), grid.TimelinesRenderer.left_width, grid.TimelinesRenderer.padding, grid.TimelinesRenderer.right_width, grid.TimelinesRenderer.width, ns3::AnimationInterface::NodeSize.width, ns3::FrequencyChannelInfo.width, and visualizer.svgitem.SvgItem.width.
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 785 of file grid.py.
References anonymous_namespace{packet-test-suite.cc}::Expected.end, grid.DataRange.end, grid.TimelinesRenderer.end, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.end, ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::ByteTagList::Iterator::Item.end, ns3::ChannelAccessManager::Timespan.end, ns3::Config::MatchContainer.end(), ns3::CtrlTriggerHeader.end(), ns3::CtrlTriggerHeader.end(), ns3::DefaultEmlsrManager::MainPhySwitchInfo.end, ns3::PhyEntity.end(), ns3::TestVectors< T >.end(), ns3::TestVectors< T >.end(), ns3::TestVectors< BuildingsChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< BuildingsChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< BuildingsPenetrationLossesTestCase::TestVector >.end(), ns3::TestVectors< BuildingsPenetrationLossesTestCase::TestVector >.end(), ns3::TestVectors< FriisPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< FriisPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< LogDistancePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< LogDistancePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppIndoorOfficePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppIndoorOfficePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppRmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppRmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppShadowingTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppShadowingTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmiPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmiPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vBuildingsChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vBuildingsChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< TwoRayGroundPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< TwoRayGroundPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< uint32_t >.end(), ns3::TestVectors< uint32_t >.end(), ns3::TestVectors< V2vHighwayProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vHighwayProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vUrbanProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vUrbanProbChCondModelTestCase::TestVector >.end(), ns3::WifiMpdu.end(), ns3::WifiPsdu.end(), ns3::WifiPsdu.end(), grid.TimelinesRenderer.grey_background, grid.ScaleRenderer.max_text_height, grid.TimelinesRenderer.max_text_height, grid.TimelinesRenderer.padding, anonymous_namespace{packet-test-suite.cc}::Expected.start, grid.DataRange.start, grid.TimelinesRenderer.start, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.start, ns3::ByteTagList::Iterator::Item.start, ns3::ChannelAccessManager::Timespan.start, and ns3::LteRrcSap::PhysCellIdRange.start.
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 767 of file grid.py.
Referenced by grid.TimelinesRenderer.draw().
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 814 of file grid.py.
References grid.TimelinesRenderer.colors, anonymous_namespace{packet-test-suite.cc}::Expected.end, grid.DataRange.end, grid.TimelinesRenderer.end, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.end, ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::AttributeContainerValue< A, Sep, C >.end(), ns3::ByteTagList::Iterator::Item.end, ns3::ChannelAccessManager::Timespan.end, ns3::Config::MatchContainer.end(), ns3::CtrlTriggerHeader.end(), ns3::CtrlTriggerHeader.end(), ns3::DefaultEmlsrManager::MainPhySwitchInfo.end, ns3::PhyEntity.end(), ns3::TestVectors< T >.end(), ns3::TestVectors< T >.end(), ns3::TestVectors< BuildingsChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< BuildingsChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< BuildingsPenetrationLossesTestCase::TestVector >.end(), ns3::TestVectors< BuildingsPenetrationLossesTestCase::TestVector >.end(), ns3::TestVectors< FriisPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< FriisPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< LogDistancePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< LogDistancePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppChannelConditionModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppIndoorOfficePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppIndoorOfficePropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppRmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppRmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppShadowingTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppShadowingTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmaPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmiPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppUmiPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vBuildingsChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vBuildingsChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vHighwayPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanLosNlosvChCondModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< ThreeGppV2vUrbanPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< TwoRayGroundPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< TwoRayGroundPropagationLossModelTestCase::TestVector >.end(), ns3::TestVectors< uint32_t >.end(), ns3::TestVectors< uint32_t >.end(), ns3::TestVectors< V2vHighwayProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vHighwayProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vUrbanProbChCondModelTestCase::TestVector >.end(), ns3::TestVectors< V2vUrbanProbChCondModelTestCase::TestVector >.end(), ns3::WifiMpdu.end(), ns3::WifiPsdu.end(), ns3::WifiPsdu.end(), grid.TimelinesRenderer.grey_background, grid.TimelinesRenderer.padding, anonymous_namespace{packet-test-suite.cc}::Expected.start, grid.DataRange.start, grid.TimelinesRenderer.start, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Line.start, ns3::ByteTagList::Iterator::Item.start, ns3::ChannelAccessManager::Timespan.start, and ns3::LteRrcSap::PhysCellIdRange.start.
grid.TimelinesRenderer.get_data_x_start | ( | self | ) |
Get Data X Start.
self | this object |
Definition at line 708 of file grid.py.
References grid.TimelinesRenderer.left_width, grid.TimelinesRenderer.padding, and grid.TimelinesRenderer.right_width.
grid.TimelinesRenderer.get_height | ( | self | ) |
Get Height.
self | this object |
Definition at line 681 of file grid.py.
References grid.TimelinesRenderer.height, ns3::AnimationInterface::NodeSize.height, and visualizer.svgitem.SvgItem.height.
grid.TimelinesRenderer.layout | ( | self, | |
width ) |
Get Data X Start.
self | this object |
width | width |
Definition at line 717 of file grid.py.
References grid.TimelinesRenderer.padding, grid.Timelines.timelines, and grid.TimelinesRenderer.timelines.
grid.TimelinesRenderer.set_render_range | ( | self, | |
start, | |||
end ) |
grid.TimelinesRenderer.set_timelines | ( | self, | |
timelines, | |||
colors ) |
grid.TimelinesRenderer.colors |
grid.TimelinesRenderer.end |
end
Definition at line 706 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().
grid.TimelinesRenderer.grey_background |
grey background
Definition at line 864 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().
grid.TimelinesRenderer.height |
height
Definition at line 765 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 761 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 763 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events().
grid.TimelinesRenderer.padding |
padding
Definition at line 678 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 762 of file grid.py.
Referenced by grid.TimelinesRenderer.draw(), and grid.TimelinesRenderer.get_data_x_start().
grid.TimelinesRenderer.start |
start
Definition at line 705 of file grid.py.
Referenced by grid.TimelinesRenderer.draw_events(), and grid.TimelinesRenderer.draw_ranges().
grid.TimelinesRenderer.timelines |
timelines
Definition at line 695 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 764 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().