pantheonrl.envs.blockworldgym.rendering

2D rendering framework

Functions

get_display

Convert a display specification (such as :0) into an actual Display object.

get_window

Will create a pyglet window from the display specification provided.

make_capsule

Convenience method for constructing a capsule

make_circle

Convenience method for constructing a circle

make_polygon

Convenience method for constructing a polygon

make_polyline

Convenience method for constructing a polyline

Classes

Attr

Base attribute class

Color

Color attribute

Compound

Compound Geometry object

FilledPolygon

Filled Polygon geometry

Geom

Base Geometry class

Image

Image Geometry object

Line

Line Geometry object

LineStyle

Line style attribute

LineWidth

Line width attribute

Point

Point geometry

PolyLine

Polyline Geometry object

SimpleImageViewer

Simple Image viewer class

Transform

Class defining an opengl transform

Viewer

Viewer class from early gym versions