Fun with PWM
0.32
|
UI for orthographic demo. More...
Public Member Functions | |
def | __init__ (self, parent, gui, options) |
def | initDependencyManager (self) |
def | setup (self) |
def | initImages (self) |
def | buildCache (self) |
def | getImage (self, axis, angle) |
def | serviceManager (self) |
def | showOrthographic (self) |
def | updateOrtho (self) |
def | unavailable (self) |
def | OnStartClick (self) |
def | OnStopClick (self) |
def | OnShowOrthographicClick (self) |
Public Member Functions inherited from TkBlock.TkPage | |
def | __init__ (self, parent, gui, options) |
def | open (self) |
Public Member Functions inherited from TkBlock.TkBlock | |
def | __init__ (self, parent, gui, options) |
def | setup (self) |
def | initWidget (self) |
def | addMenu (self, menu, label="-") |
def | open (self) |
def | close (self) |
def | genericView (self, parent, value) |
def | numberView (self, parent, value) |
def | stringView (self, parent, value) |
def | dictView (self, parent, value) |
def | iterView (self, parent, value) |
Public Attributes | |
specification | |
scheduler | |
pimg | |
tkimg | |
imu | |
shapes | |
cache | |
basepath | |
dm | |
oimages | |
last | |
Public Attributes inherited from TkBlock.TkBlock | |
gui | |
parent | |
height | |
variables | |
notifier | |
colours | |
fonts | |
images | |
wrap | |
canvas | |
widget | |
yScroller | |
xScroller | |
widgets | |
gridrow | |
UI for orthographic demo.
def TkOrthoManager.TkOrthoManager.__init__ | ( | self, | |
parent, | |||
gui, | |||
options | |||
) |
Initializes TkOrthoManager object @param parent @param gui @param options
def TkOrthoManager.TkOrthoManager.buildCache | ( | self | ) |
setup cache (first 60 degs)
def TkOrthoManager.TkOrthoManager.getImage | ( | self, | |
axis, | |||
angle | |||
) |
gets an image from cache or caches it @param axis @param angle
def TkOrthoManager.TkOrthoManager.initDependencyManager | ( | self | ) |
setup dependency checks
def TkOrthoManager.TkOrthoManager.initImages | ( | self | ) |
setup required images
def TkOrthoManager.TkOrthoManager.OnShowOrthographicClick | ( | self | ) |
action - dsplays the ortho page
def TkOrthoManager.TkOrthoManager.OnStartClick | ( | self | ) |
action - starts the imu service
def TkOrthoManager.TkOrthoManager.OnStopClick | ( | self | ) |
action - stops the imu service
def TkOrthoManager.TkOrthoManager.serviceManager | ( | self | ) |
view - service manager
def TkOrthoManager.TkOrthoManager.setup | ( | self | ) |
setup gui menu
def TkOrthoManager.TkOrthoManager.showOrthographic | ( | self | ) |
view - displays orthographic ui
def TkOrthoManager.TkOrthoManager.unavailable | ( | self | ) |
view - fallback for missing imu
def TkOrthoManager.TkOrthoManager.updateOrtho | ( | self | ) |
util - updates ortho ui