Inheritance diagram for visualizer.svgitem.SvgItem:
 Collaboration diagram for visualizer.svgitem.SvgItem:Public Member Functions | |
| def | __init__ (self, x, y, rsvg_handle, kwargs) | 
| def | do_get_property (self, pspec) | 
| Get Property.  More... | |
| def | do_set_property (self, pspec, value) | 
| Set Property.  More... | |
| def | do_simple_is_item_at (self, x, y, cr, is_pointer_event) | 
| Simple Is Item At function.  More... | |
| def | do_simple_paint (self, cr, bounds) | 
| Simple Paint function.  More... | |
| def | do_simple_update (self, cr) | 
| Simple Update function.  More... | |
Public Attributes | |
| bounds_x1 | |
| minimum x  More... | |
| bounds_x2 | |
| maximum x  More... | |
| bounds_y1 | |
| minimum y  More... | |
| bounds_y2 | |
| maximum y  More... | |
| custom_height | |
| custom height  More... | |
| custom_width | |
| custom width  More... | |
| handle | |
| handle  More... | |
| height | |
| height  More... | |
| sx | |
| x step  More... | |
| sy | |
| y step  More... | |
| width | |
| width  More... | |
| x | |
| x  More... | |
| y | |
| y  More... | |
Private Member Functions | |
| def | _size_changed (self) | 
| Size Changed function.  More... | |
Static Private Attributes | |
| dictionary | __gproperties__ | 
| setup our custom properties  More... | |
SvgItem class.
Definition at line 8 of file svgitem.py.
| def visualizer.svgitem.SvgItem.__init__ | ( | self, | |
| x, | |||
| y, | |||
| rsvg_handle, | |||
| kwargs | |||
| ) | 
Initializer @param self this object
Definition at line 71 of file svgitem.py.
      
  | 
  private | 
Size Changed function.
| self | this object | 
Definition at line 125 of file svgitem.py.
References visualizer.svgitem.SvgItem.custom_height, visualizer.svgitem.SvgItem.custom_width, visualizer.svgitem.SvgItem.handle, visualizer.svgitem.SvgItem.height, ns3::AnimationInterface::NodeSize.height, grid.TimelinesRenderer.height, visualizer.svgitem.SvgItem.sx, visualizer.svgitem.SvgItem.sy, visualizer.svgitem.SvgItem.width, ns3::AnimationInterface::NodeSize.width, and grid.TimelinesRenderer.width.
Referenced by visualizer.svgitem.SvgItem.do_set_property().
 Here is the caller graph for this function:| def visualizer.svgitem.SvgItem.do_get_property | ( | self, | |
| pspec | |||
| ) | 
Get Property.
| self | this object | 
| pspec | property name | 
Definition at line 152 of file svgitem.py.
References visualizer.svgitem.SvgItem.handle, visualizer.svgitem.SvgItem.height, ns3::AnimationInterface::NodeSize.height, grid.TimelinesRenderer.height, visualizer.svgitem.SvgItem.width, ns3::AnimationInterface::NodeSize.width, grid.TimelinesRenderer.width, Room.x, ns3::Vector3D.x, visualizer.svgitem.SvgItem.x, ns3::Vector2D.x, ns3::Gnuplot2dDataset::Point.x, ns3::Gnuplot3dDataset::Point.x, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Vector2.x, Room.y, ns3::Vector3D.y, visualizer.svgitem.SvgItem.y, ns3::Vector2D.y, ns3::Gnuplot2dDataset::Point.y, ns3::Gnuplot3dDataset::Point.y, and ns3::anonymous_namespace{pyviz.cc}::FastClipping::Vector2.y.
| def visualizer.svgitem.SvgItem.do_set_property | ( | self, | |
| pspec, | |||
| value | |||
| ) | 
Set Property.
| self | this object | 
| pspec | property name | 
| value | property value | 
Definition at line 88 of file svgitem.py.
References visualizer.svgitem.SvgItem._size_changed(), visualizer.svgitem.SvgItem.custom_height, visualizer.svgitem.SvgItem.custom_width, Room.x, ns3::Vector3D.x, visualizer.svgitem.SvgItem.x, ns3::Vector2D.x, ns3::Gnuplot2dDataset::Point.x, ns3::Gnuplot3dDataset::Point.x, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Vector2.x, Room.y, ns3::Vector3D.y, visualizer.svgitem.SvgItem.y, ns3::Vector2D.y, ns3::Gnuplot2dDataset::Point.y, ns3::Gnuplot3dDataset::Point.y, and ns3::anonymous_namespace{pyviz.cc}::FastClipping::Vector2.y.
 Here is the call graph for this function:| def visualizer.svgitem.SvgItem.do_simple_is_item_at | ( | self, | |
| x, | |||
| y, | |||
| cr, | |||
| is_pointer_event | |||
| ) | 
Simple Is Item At function.
| self | this object | 
| x | the X position | 
| y | the Y position | 
| cr | rendered | 
| is_pointer_event | is the event a pointer event | 
Definition at line 201 of file svgitem.py.
References visualizer.svgitem.SvgItem.height, ns3::AnimationInterface::NodeSize.height, grid.TimelinesRenderer.height, visualizer.svgitem.SvgItem.width, ns3::AnimationInterface::NodeSize.width, grid.TimelinesRenderer.width, Room.x, ns3::Vector3D.x, visualizer.svgitem.SvgItem.x, ns3::Vector2D.x, ns3::Gnuplot2dDataset::Point.x, ns3::Gnuplot3dDataset::Point.x, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Vector2.x, Room.y, ns3::Vector3D.y, visualizer.svgitem.SvgItem.y, ns3::Vector2D.y, ns3::Gnuplot2dDataset::Point.y, ns3::Gnuplot3dDataset::Point.y, and ns3::anonymous_namespace{pyviz.cc}::FastClipping::Vector2.y.
| def visualizer.svgitem.SvgItem.do_simple_paint | ( | self, | |
| cr, | |||
| bounds | |||
| ) | 
Simple Paint function.
| self | this object | 
| cr | rendered | 
| bounds | bounds | 
Definition at line 177 of file svgitem.py.
References visualizer.svgitem.SvgItem.handle, visualizer.svgitem.SvgItem.sx, visualizer.svgitem.SvgItem.sy, Room.x, ns3::Vector3D.x, visualizer.svgitem.SvgItem.x, ns3::Vector2D.x, ns3::Gnuplot2dDataset::Point.x, ns3::Gnuplot3dDataset::Point.x, ns3::anonymous_namespace{pyviz.cc}::FastClipping::Vector2.x, Room.y, ns3::Vector3D.y, visualizer.svgitem.SvgItem.y, ns3::Vector2D.y, ns3::Gnuplot2dDataset::Point.y, ns3::Gnuplot3dDataset::Point.y, and ns3::anonymous_namespace{pyviz.cc}::FastClipping::Vector2.y.
| def visualizer.svgitem.SvgItem.do_simple_update | ( | self, | |
| cr | |||
| ) | 
Simple Update function.
| self | this object | 
| cr | rendered | 
Definition at line 189 of file svgitem.py.
      
  | 
  staticprivate | 
setup our custom properties
Definition at line 37 of file svgitem.py.
| visualizer.svgitem.SvgItem.bounds_x1 | 
minimum x
Definition at line 196 of file svgitem.py.
| visualizer.svgitem.SvgItem.bounds_x2 | 
maximum x
Definition at line 198 of file svgitem.py.
| visualizer.svgitem.SvgItem.bounds_y1 | 
minimum y
Definition at line 197 of file svgitem.py.
| visualizer.svgitem.SvgItem.bounds_y2 | 
maximum y
Definition at line 199 of file svgitem.py.
| visualizer.svgitem.SvgItem.custom_height | 
custom height
Definition at line 86 of file svgitem.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), and visualizer.svgitem.SvgItem.do_set_property().
| visualizer.svgitem.SvgItem.custom_width | 
custom width
Definition at line 85 of file svgitem.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), and visualizer.svgitem.SvgItem.do_set_property().
| visualizer.svgitem.SvgItem.handle | 
handle
Definition at line 82 of file svgitem.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), visualizer.svgitem.SvgItem.do_get_property(), and visualizer.svgitem.SvgItem.do_simple_paint().
| visualizer.svgitem.SvgItem.height | 
height
Definition at line 84 of file svgitem.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), visualizer.svgitem.SvgItem.do_get_property(), and visualizer.svgitem.SvgItem.do_simple_is_item_at().
| visualizer.svgitem.SvgItem.sx | 
x step
Definition at line 80 of file svgitem.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), and visualizer.svgitem.SvgItem.do_simple_paint().
| visualizer.svgitem.SvgItem.sy | 
y step
Definition at line 81 of file svgitem.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), and visualizer.svgitem.SvgItem.do_simple_paint().
| visualizer.svgitem.SvgItem.width | 
width
Definition at line 83 of file svgitem.py.
Referenced by visualizer.svgitem.SvgItem._size_changed(), visualizer.svgitem.SvgItem.do_get_property(), and visualizer.svgitem.SvgItem.do_simple_is_item_at().
| visualizer.svgitem.SvgItem.x | 
x
Definition at line 78 of file svgitem.py.
Referenced by visualizer.svgitem.SvgItem.do_get_property(), visualizer.svgitem.SvgItem.do_set_property(), visualizer.svgitem.SvgItem.do_simple_is_item_at(), and visualizer.svgitem.SvgItem.do_simple_paint().
| visualizer.svgitem.SvgItem.y | 
y
Definition at line 79 of file svgitem.py.
Referenced by visualizer.svgitem.SvgItem.do_get_property(), visualizer.svgitem.SvgItem.do_set_property(), visualizer.svgitem.SvgItem.do_simple_is_item_at(), and visualizer.svgitem.SvgItem.do_simple_paint().