Public Member Functions | |
__init__ (self, viz) | |
Initializer function. | |
set_visible (self, visible) | |
Set visible function. | |
update_view (self) | |
Update view function. | |
Public Attributes | |
int | color = 0x8080C0FF |
color | |
hlines | |
horizontal lines | |
list | labels = [] |
list of labels | |
bool | visible = self.viz.get_vadjustment() |
visible | |
viz = viz | |
visualizer | |
vlines | |
vertical lines | |
Protected Member Functions | |
_compute_divisions (self, xi, xf) | |
Compute divisions function. | |
visualizer.hud.Axes.__init__ | ( | self, | |
viz ) |
|
protected |
Compute divisions function.
self | this object |
xi | xi |
xf | xf |
Definition at line 72 of file hud.py.
Referenced by update_view().
visualizer.hud.Axes.set_visible | ( | self, | |
visible ) |
visualizer.hud.Axes.update_view | ( | self | ) |
Update view function.
self | this object |
Definition at line 113 of file hud.py.
References _compute_divisions(), color, hlines, labels, visualizer.core.SimulationThread.viz, viz, and vlines.
int visualizer.hud.Axes.color = 0x8080C0FF |
visualizer.hud.Axes.hlines |
horizontal lines
Definition at line 31 of file hud.py.
Referenced by set_visible(), and update_view().
list visualizer.hud.Axes.labels = [] |
list of labels
Definition at line 39 of file hud.py.
Referenced by set_visible(), and update_view().
bool visualizer.hud.Axes.visible = self.viz.get_vadjustment() |
visualizer.hud.Axes.viz = viz |
visualizer.hud.Axes.vlines |
vertical lines
Definition at line 35 of file hud.py.
Referenced by set_visible(), and update_view().