Elements.pyGLV.GUI.Viewer

Viewer classes, part of the Elements.pyGLV

Elements.pyGLV (Computer Graphics for Deep Learning and Scientific Visualization) @Copyright 2021-2022 Dr. George Papagiannakis

The classes below are all related to the GUI and Display part of the package

Basic design principles are based on the Decorator Design pattern:

Classes

RenderDecorator(wrapee)

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.

RenderGLStateSystem([name, type, id])

System that operates on a RenderDecorator (ImGUIDecorator) and affect GL State

RenderWindow()

The Abstract base class of the Viewer GUI/Display sub-system of pyglGA based on the Decorator Pattern, this class is “wrapped” by decorators in order to provide extra cpapabilities e.g.

SDL2Window([windowWidth, windowHeight, …])

The concrete subclass of RenderWindow for the SDL2 GUI API