legacy_qt_glmesh_molecular_viewer
Qt Legacy GLMesh Molecular Viewer for PDB Files
This example demonstrates how to: 1. Load PDB files using the PDBLoader 2. Extract C-alpha atoms (CA) from the structure 3. Convert them to PicoGL MeshData format 4. Display them using LegacyGLMesh for rendering 5. Provide interactive controls for rotation and zoom
Attributes
Classes
Qt OpenGL widget for displaying molecular structures using LegacyGLMesh. |
|
Main window for the LegacyGLMesh molecular viewer. |
Functions
|
Main function to run the molecular viewer. |
Module Contents
- class legacy_qt_glmesh_molecular_viewer.QtLegacyGLMeshMolecularViewer(pdb_path: str, parent: PySide6.QtWidgets.QWidget | None = None)[source]
Bases:
PySide6.QtOpenGLWidgets.QOpenGLWidgetQt OpenGL widget for displaying molecular structures using LegacyGLMesh.