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.
Methods
__init__
([scene])Initialize self.
add_toggle
(name, create)destroy
()destroy_vchildren
(vchildren)mousedown
()mousemove
()mouseup
()refresh
()toggle
(name[, value])