Elements.pyGLV.GUI.Viewer.RenderDecorator¶
- class Elements.pyGLV.GUI.Viewer.RenderDecorator(wrapee: Elements.pyGLV.GUI.Viewer.RenderWindow)[source]¶
Main Decorator class that wraps a RenderWindow so that all other Decorator classes can dynamically be adding layered functionality on top of the wrapee (RenderWindow) e.g. ImGUI widgets etc.
- Parameters
RenderWindow ([type]) – [description]
- __init__(wrapee: Elements.pyGLV.GUI.Viewer.RenderWindow)[source]¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(wrapee)Initialize self.
accept(system[, event])Accepts a class object to operate on the RenderWindow, based on the Visitor pattern.
display()Main decorator display method
display_post()Post diplay method after all other display calls have been issued
event_input_process([running])extra decorator method to handle input events :param running: [description], defaults to True :type running: bool, optional
getClassName()init()[summary]
init_post()Post init method this should be ctypiically alled AFTER all other GL contexts have been created, e.g.
shutdown()[summary]
Attributes
eventManagerGet RenderWindow’s eventManager
sceneGet RenderWindow’s Scene reference
wrapeeWindow