A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
visualizer.hud.Axes Class Reference

Axes class. More...

+ Inheritance diagram for visualizer.hud.Axes:
+ Collaboration diagram for visualizer.hud.Axes:

Public Member Functions

 __init__ (self, viz)
 Initializer function.
 
 set_visible (self, visible)
 Set visible function.
 
 update_view (self)
 Update view function.
 

Public Attributes

 color
 color
 
 hlines
 horizontal lines
 
 labels
 list of labels
 
 visible
 visible
 
 viz
 visualizer
 
 vlines
 vertical lines
 

Protected Member Functions

 _compute_divisions (self, xi, xf)
 Compute divisions function.
 

Detailed Description

Axes class.

Definition at line 9 of file hud.py.

Constructor & Destructor Documentation

◆ __init__()

visualizer.hud.Axes.__init__ ( self,
viz )

Initializer function.

Parameters
selfthis object
vizvisualization object

Definition at line 22 of file hud.py.

Member Function Documentation

◆ _compute_divisions()

visualizer.hud.Axes._compute_divisions ( self,
xi,
xf )
protected

Compute divisions function.

Parameters
selfthis object
xixi
xfxf
Returns
x0 and div

Definition at line 72 of file hud.py.

Referenced by visualizer.hud.Axes.update_view().

+ Here is the caller graph for this function:

◆ set_visible()

visualizer.hud.Axes.set_visible ( self,
visible )

Set visible function.

Parameters
selfthis object
visiblevisible indicator
Returns
none

Definition at line 54 of file hud.py.

References visualizer.hud.Axes.hlines, visualizer.hud.Axes.labels, visualizer.hud.Axes.visible, and visualizer.hud.Axes.vlines.

◆ update_view()

visualizer.hud.Axes.update_view ( self)

Update view function.

Parameters
selfthis object
Returns
none

Definition at line 113 of file hud.py.

References visualizer.hud.Axes._compute_divisions(), visualizer.hud.Axes.color, visualizer.hud.Axes.hlines, visualizer.hud.Axes.labels, visualizer.core.SimulationThread.viz, visualizer.hud.Axes.viz, and visualizer.hud.Axes.vlines.

+ Here is the call graph for this function:

Member Data Documentation

◆ color

visualizer.hud.Axes.color

color

Definition at line 30 of file hud.py.

Referenced by visualizer.hud.Axes.update_view().

◆ hlines

visualizer.hud.Axes.hlines

horizontal lines

Definition at line 31 of file hud.py.

Referenced by visualizer.hud.Axes.set_visible(), and visualizer.hud.Axes.update_view().

◆ labels

visualizer.hud.Axes.labels

list of labels

Definition at line 39 of file hud.py.

Referenced by visualizer.hud.Axes.set_visible(), and visualizer.hud.Axes.update_view().

◆ visible

visualizer.hud.Axes.visible

visible

Definition at line 44 of file hud.py.

Referenced by visualizer.hud.Axes.set_visible().

◆ viz

visualizer.hud.Axes.viz

visualizer

Definition at line 29 of file hud.py.

Referenced by visualizer.core.SimulationThread.run(), and visualizer.hud.Axes.update_view().

◆ vlines

visualizer.hud.Axes.vlines

vertical lines

Definition at line 35 of file hud.py.

Referenced by visualizer.hud.Axes.set_visible(), and visualizer.hud.Axes.update_view().


The documentation for this class was generated from the following file: