amino  1.0-beta2
Lightweight Robot Utility Library
amino.scenewin.SceneWin Class Reference

Public Member Functions

def __init__ (self, title="PyAmino", width=800, height=600, start=True, background=True, scenegraph=None, config=None)
 Create a new window. More...
 
def __del__ (self)
 
def start (self, background=False)
 Start the window. More...
 
def scenegraph (self)
 The displayed scenegraph.
 
def scenegraph (self, scenegraph)
 
def config (self)
 The current configuration.
 
def config (self, config)
 
def fk (self)
 The current configuration FK.
 
def fk (self, value)
 
def stop (self)
 Stop the window.
 
def is_runnining (self)
 Returns True if the window is still running.
 
def lock (self)
 Lock the window.
 
def unlock (self)
 Lock the window.
 

Public Attributes

 scenegraph
 
 config
 

Static Public Attributes

 restype
 
 argtypes
 

Detailed Description

Definition at line 50 of file scenewin.py.

Constructor & Destructor Documentation

◆ __init__()

def amino.scenewin.SceneWin.__init__ (   self,
  title = "PyAmino",
  width = 800,
  height = 600,
  start = True,
  background = True,
  scenegraph = None,
  config = None 
)

Create a new window.

Parameters
titlethe window title
widthwindow width in pixels
heightwindow width in pixels
startwhether to immediatly start the window
backgroundwhether to run the window in an asynchronous background thread
scenegraphscene to display
configconfiguration of the scene

Definition at line 64 of file scenewin.py.

Member Function Documentation

◆ start()

def amino.scenewin.SceneWin.start (   self,
  background = False 
)

Start the window.

Parameters
backgroundwhether to run the window in an asynchronous background thread

Definition at line 92 of file scenewin.py.


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