molsysviewer.shapes.SphereShapes#

class molsysviewer.shapes.SphereShapes(view)[source]#

Sphere helpers for the scene.

__init__(view)[source]#
Return type:

None

Methods

__init__(view)

add_set_alpha_spheres(*, centers, radii[, ...])

Render a set of alpha-spheres (and optionally contact atoms) in a single message.

add_sphere([center, radius, color, alpha, tag])

Add a (possibly transparent) sphere to the scene.

add_spheres(centers[, radii, colors, ...])

Add multiple spheres to the scene.

clear([tag])

Delete shapes in the frontend (all or by tag).