Package Pmv :: Module hbondCommands :: Class DisplayHBonds
[hide private]
[frames] | no frames]

Class DisplayHBonds

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       DisplayHBonds
Known Subclasses:
DisplayHBondsAsCylinders, DisplayHBondsAsSpheres

Base class to allow user to visualize pre-existing HydrogenBonds between 
atoms in viewer 
   
Package : Pmv
   
Module  : hbondCommands
   
Class   : DisplayHBonds
   
Command : displayHBonds
   
Synopsis:

        None <--- displayHBonds(ats)
    



Instance Methods [hide private]
  __init__(self, func=None)
  initGeom(self)
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  hidePalette_cb(self, event=None)
  reset(self)
  update(self, event=None)
  showHBondLC(self, atName, event=None)
  color_cb(self, colors)
  changeColor(self, event=None)
  getIfd(self, atNames)
  setUpWidgets(self, atNames)
  doit(self, ats)
virtual method.
  updateQuality(self, event=None)
  dismiss_cb(self, event=None, **kw)
  setupDisplay(self)
  interpolate(self, pt1, pt2)
  setDVerts(self, entries, event=None)
  setAVerts(self, entries, event=None)
  changeDVerts(self, event=None)
  closeChangeDVertLC(self, event=None)
  showAllHBonds(self, event=None)
  guiCallback(self)

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __call__, __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildFormDescr, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, setupUndoBefore, showForm, tkCb, updateGeom, warningMsg


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

__init__(self, func=None)
(Constructor)

source code 
None
Overrides: mvCommand.MVCommand.__init__

initGeom(self)

source code 
None

onAddCmdToViewer(self)

source code 
method called when an instance of this command is added to the viewer. This enable viewer-addition time initializations
Overrides: ViewerFramework.VFCommand.Command.onAddCmdToViewer
(inherited documentation)

hidePalette_cb(self, event=None)

source code 
None

reset(self)

source code 
None

update(self, event=None)

source code 
None

showHBondLC(self, atName, event=None)

source code 
None

color_cb(self, colors)

source code 
None

changeColor(self, event=None)

source code 
None

getIfd(self, atNames)

source code 
None

setUpWidgets(self, atNames)

source code 
None

doit(self, ats)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: ViewerFramework.VFCommand.Command.doit
(inherited documentation)

updateQuality(self, event=None)

source code 
None

dismiss_cb(self, event=None, **kw)

source code 
None

setupDisplay(self)

source code 
None

interpolate(self, pt1, pt2)

source code 
None

setDVerts(self, entries, event=None)

source code 
None

setAVerts(self, entries, event=None)

source code 
None

changeDVerts(self, event=None)

source code 
None

closeChangeDVertLC(self, event=None)

source code 
None

showAllHBonds(self, event=None)

source code 
None

guiCallback(self)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback