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

Class ExtrudeHydrogenBonds

source code

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

This class allows user to visualize pre-existing HydrogenBonds between 
atoms in viewer using extruded geometries
   
Package : Pmv
   
Module  : hbondCommands
   
Class   : ExtrudeHydrogenBonds
   
Command : extrudeHBonds
   
Synopsis:

        None <- extrudeHBonds(nodes, shape2D=None, capsFlag=0, **kw)
    



Instance Methods [hide private]
  __init__(self, func=None)
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  hidePalette_cb(self, event=None)
  __call__(self, nodes, shape2D=None, capsFlag=0, **kw)
None <- extrudeHBonds(nodes, shape2D=None, capsFlag=0, **kw)
  interpolate(self, pt1, pt2)
  updateDisplay(self)
  doit(self, nodes, shape2D, capsFlag=0)
virtual method.
  updateExtrusion_cb(self, event=1)
  changeDVerts(self, event=None)
  setDVerts(self, entries, event=None)
  setAVerts(self, entries, event=None)
  closeChangeDVertLC(self, event=None)
  dismiss_cb(self, event=None, **kw)
  color_cb(self, colors)
  changeColor(self, event=None)
  showHBondLC(self, atName, 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)

hidePalette_cb(self, event=None)

source code 
None

__call__(self, nodes, shape2D=None, capsFlag=0, **kw)
(Call operator)

source code 
None <- extrudeHBonds(nodes, shape2D=None, capsFlag=0, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__

interpolate(self, pt1, pt2)

source code 
None

updateDisplay(self)

source code 
None

doit(self, nodes, shape2D, capsFlag=0)

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

updateExtrusion_cb(self, event=1)

source code 
None

changeDVerts(self, event=None)

source code 
None

setDVerts(self, entries, event=None)

source code 
None

setAVerts(self, entries, event=None)

source code 
None

closeChangeDVertLC(self, event=None)

source code 
None

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

source code 
None

color_cb(self, colors)

source code 
None

changeColor(self, event=None)

source code 
None

showHBondLC(self, atName, event=None)

source code 
None

guiCallback(self)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback