Elements.pyGLV.GUI.Viewer.ImGUIDecorator¶
- class Elements.pyGLV.GUI.Viewer.ImGUIDecorator(wrapee: Elements.pyGLV.GUI.Viewer.RenderWindow, imguiContext=None)[source]¶
ImGUI decorator
- Parameters
RenderDecorator ([type]) – [description]
- __init__(wrapee: Elements.pyGLV.GUI.Viewer.RenderWindow, imguiContext=None)[source]¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(wrapee[, imguiContext])Initialize self.
accept(system[, event])Accepts a class object to operate on the RenderWindow, based on the Visitor pattern.
display()ImGUI decorator display: calls wrapee (RenderWindow::display) as well as extra ImGUI widgets
display_post()Post diplay method after all other display calls have been issued
event_input_process([running])process SDL2 basic events and input
extra()sample ImGUI widgets to be rendered on a RenderWindow
getClassName()init()Calls Decoratee init() and also sets up events
init_post()Post init method this should be ctypiically alled AFTER all other GL contexts have been created, e.g.
scenegraphVisualiser()display the ECSS in an ImGUI tree node structure Typically this is a custom widget to be extended in an ImGUIDecorator subclass
shutdown()[summary]
Attributes
eventManagerGet RenderWindow’s eventManager
sceneGet RenderWindow’s Scene reference
wrapeeWindow