Package Pmv :: Module moleculeViewer :: Class MolGeomContainer
[hide private]
[frames] | no frames]

Class MolGeomContainer

source code

ViewerFramework.VF.GeomContainer --+
                                   |
                                  MolGeomContainer

Class to hold geometries used to represent molecules in a viewer. An instance of such a class called geomContainer is added to each Molecule as it is loaded into a Viewer

Instance Methods [hide private]
  __init__(self, mol, viewer)
constructor of the geometry container
  addGeom(self, geom, parent=None, redo=False)
This method should be called to add a molecule-specific geometry.
  getGeomColor(self, geomName)
  updateColors(self, geomName=[], updateOpacity=0)
  getGeomOpacity(self, geomName)
  updateOpacity(self, geomName=[])

Inherited from ViewerFramework.VF.GeomContainer: delete, updateGeoms


Method Details [hide private]

__init__(self, mol, viewer)
(Constructor)

source code 
constructor of the geometry container
Overrides: ViewerFramework.VF.GeomContainer.__init__

addGeom(self, geom, parent=None, redo=False)

source code 
This method should be called to add a molecule-specific geometry. geom -- DejaVu Geom instance parent -- parent geoemetry, if not specified we use self.masterGeom
Overrides: ViewerFramework.VF.GeomContainer.addGeom
(inherited documentation)

getGeomColor(self, geomName)

source code 
None

updateColors(self, geomName=[], updateOpacity=0)

source code 
None

getGeomOpacity(self, geomName)

source code 
None

updateOpacity(self, geomName=[])

source code 
None