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

Class ShowHydrogenBonds

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       ShowHydrogenBonds

This class allows user to visualize pre-existing HydrogenBonds between 
atoms in viewer
   
Package : Pmv
   
Module  : hbondCommands
   
Class   : ShowHydrogenBonds
   
Command : showHBonds
   
Synopsis:

    None <- showHBonds(nodes, **kw)
    



Instance Methods [hide private]
  __init__(self, func=None)
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, nodes, **kw)
None <- showHBonds(nodes, **kw)
  reset(self)
  doit(self, ats)
virtual method.
  showHBondLC(self, hats, event=None)
  dismiss_cb(self, event=None, **kw)
  showDistances(self, event=None)
  showEnergies(self, hats)
  buildEnergies(self, hats)
  showAngles(self, hats, event=None)
  buildAngles(self, hats)
  setupDisplay(self)
  showAllHBonds(self, hats, event=None)
  selAllHBonds(self, hats, event=None)
  guiCallback(self)

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __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__

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)

__call__(self, nodes, **kw)
(Call operator)

source code 
None <- showHBonds(nodes, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__

reset(self)

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)

showHBondLC(self, hats, event=None)

source code 
None

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

source code 
None

showDistances(self, event=None)

source code 
None

showEnergies(self, hats)

source code 
None

buildEnergies(self, hats)

source code 
None

showAngles(self, hats, event=None)

source code 
None

buildAngles(self, hats)

source code 
None

setupDisplay(self)

source code 
None

showAllHBonds(self, hats, event=None)

source code 
None

selAllHBonds(self, hats, event=None)

source code 
None

guiCallback(self)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback