spheres.visualization.vp_object.VObject

class spheres.visualization.vp_object.VObject(scene=None)[source]

Bases: object

Parent class for visual objects (using vpython), streamlining the automatic updating of visuals when attributes are changed, mouse interaction, and keeping track of sets of visual objects which might be toggled on or off.

__init__(scene=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([scene])

Initialize self.

add_toggle(name, create)

destroy()

destroy_vchildren(vchildren)

mousedown()

mousemove()

mouseup()

refresh()

toggle(name[, value])