Fun with PWM  0.32
TkOrthoManager.TkOrthoManager Class Reference

UI for orthographic demo. More...

Inheritance diagram for TkOrthoManager.TkOrthoManager:
TkBlock.TkPage TkBlock.TkBlock

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
 

Detailed Description

UI for orthographic demo.

Constructor & Destructor Documentation

§ __init__()

def TkOrthoManager.TkOrthoManager.__init__ (   self,
  parent,
  gui,
  options 
)
Initializes TkOrthoManager object

@param parent
@param gui
@param options

Member Function Documentation

§ buildCache()

def TkOrthoManager.TkOrthoManager.buildCache (   self)
setup cache (first 60 degs)

§ getImage()

def TkOrthoManager.TkOrthoManager.getImage (   self,
  axis,
  angle 
)
gets an image from cache or caches it

@param axis
@param angle

§ initDependencyManager()

def TkOrthoManager.TkOrthoManager.initDependencyManager (   self)
setup dependency checks

§ initImages()

def TkOrthoManager.TkOrthoManager.initImages (   self)
setup required images

§ OnShowOrthographicClick()

def TkOrthoManager.TkOrthoManager.OnShowOrthographicClick (   self)
action - dsplays the ortho page

§ OnStartClick()

def TkOrthoManager.TkOrthoManager.OnStartClick (   self)
action - starts the imu service

§ OnStopClick()

def TkOrthoManager.TkOrthoManager.OnStopClick (   self)
action - stops the imu service

§ serviceManager()

def TkOrthoManager.TkOrthoManager.serviceManager (   self)
view - service manager

§ setup()

def TkOrthoManager.TkOrthoManager.setup (   self)
setup gui menu

§ showOrthographic()

def TkOrthoManager.TkOrthoManager.showOrthographic (   self)
view - displays orthographic ui

§ unavailable()

def TkOrthoManager.TkOrthoManager.unavailable (   self)
view - fallback for missing imu

§ updateOrtho()

def TkOrthoManager.TkOrthoManager.updateOrtho (   self)
util - updates ortho ui

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