Package schrodinger :: Package graphics3d :: Module common :: Class Primitive
[hide private]
[frames] | no frames]

Class Primitive

object --+
         |
        Primitive

All 3D objects derive from this class.

Instance Methods [hide private]
 
__init__(self, maestro_objects=[])
x.__init__(...) initializes x; see help(type(x)) for signature
 
__del__(self)
 
hide(self)
Hide the object.
 
show(self)
Display this object, if it was hidden
 
groupHidden(self)
Called when the group of this object is hidden.
 
groupShown(self)
Called when the group of this object is shown.
 
isShown(self)
Returns True if this object shown.
 
isGroupShown(self)
Returns True if this object's group is shown.
 
setEntryID(self, entry_id)
Sets entry ID for Maestro object (necessary to render in tile-by-entry mode.

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, maestro_objects=[])
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

hide(self)

 

Hide the object. It will not be drawn when the group is drawn.

groupHidden(self)

 

Called when the group of this object is hidden. Hide the Maestro object(s).

groupShown(self)

 

Called when the group of this object is shown. Show the Maestro object, if we are being shown.

isShown(self)

 

Returns True if this object shown. False otherwise.

isGroupShown(self)

 

Returns True if this object's group is shown. False otherwise.

setEntryID(self, entry_id)

 

Sets entry ID for Maestro object (necessary to render in tile-by-entry mode.

Parameters:
  • entry_id (str) - Object's entry ID.