Elements.pyGLV.GUI.Viewer.ImGUIecssDecorator

class Elements.pyGLV.GUI.Viewer.ImGUIecssDecorator(wrapee: Elements.pyGLV.GUI.Viewer.RenderWindow, imguiContext=None)[source]

custom ImGUI decorator for this example

Parameters

ImGUIDecorator ([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

drawNode(component)

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

eventManager

Get RenderWindow’s eventManager

scene

Get RenderWindow’s Scene reference

wrapeeWindow