pantheonrl.envs.blockworldgym.rendering.Viewer
- class Viewer(width, height, display=None)[source]
Bases:
objectViewer class from early gym versions
Methods
Adds the geometry to the scene
Adds the geometry for one-time viewing
Closes the viewer window.
Draw circle
Draw line
Draw polygon
Draw polyline
Get the window as an rgb array
Renders the scene
Sets the bounds of the window
Called when window is closed by user.