picogl.backend.legacy.core.transform

This module provides functionality for applying transformations including translation, rotation, and scaling to a specific graphical context using OpenGL legacy API methods.

The Transform class encapsulates a set of transformation properties which can be applied sequentially in the order of translation, rotation, and scaling.

Classes

Transform

Transform

Module Contents

class picogl.backend.legacy.core.transform.Transform[source]

Transform

translation: molib.pdb.coordinate.coordinate.Coordinate3D[source]
rotation: molib.pdb.coordinate.coordinate.Coordinate3D[source]
scale: molib.pdb.coordinate.coordinate.Coordinate3D[source]
apply()[source]