Package schrodinger :: Package application :: Package glide :: Module gui :: Class GlideWorkspaceMarkers
[hide private]
[frames] | no frames]

Class GlideWorkspaceMarkers

object --+
         |
        GlideWorkspaceMarkers

Class for marking constraints and excluded volumes in the Workspace. Along with the marker, optional labels are also drawn.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__del__(self)
 
_workspaceDrawCallback(self)
Called by Maestro when Workspace needs to be drawn.
 
clear(self)
Remove all added labels.
 
add(self, center=None, radius=None, atom=None, color=None, name=None, opacity=0.8)
Add another marker to draw.
 
show(self)
Show the markers in the Workspace.
 
hide(self)
Hide the markers from the Workspace.
 
setVisible(self, visible)
Show the markers if "visible" is True, hide otherwise.
 
showLabels(self)
Enable labels.
 
hideLabels(self)
Disable labels.
 
setLabelsVisible(self, visible)
Show the labels if "visible" is True, hide otherwise.
 
_requestRedraw(self)
Request Maestro to redraw the Workspace.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

add(self, center=None, radius=None, atom=None, color=None, name=None, opacity=0.8)

 

Add another marker to draw.

Either center and radius need to be specified (to draw a sphere) or an atom object (to draw atom markers).