Package AutoDockTools :: Module autogpfCommands :: Class SetBoxParameters
[hide private]
[frames] | no frames]

Class SetBoxParameters

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
              Pmv.mvCommand.MVCommand --+
                                        |
                                       SetBoxParameters

allows user to set center, spacing, and extent of grids (number of pts in each dimension) to be calculated

Instance Methods [hide private]
  __init__(self)
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  guiCallback(self)
called each time the menuText['SetGridMB'] button is pressed
  updateValues(self)
  buildForm(self)
  buildMenu(self, keyList, mB, vars, cmd, type='radio', cmdList=None)
  buildFileMenu(self, event=None)
  buildCenterMenu(self, event=None)
  buildVisiMenu(self, event=None)
  buildHelpMenu(self, event=None)
  Close_cb(self, event=None)
  Accept_cb(self, event=None)
  setCenVal(self, val, event=None)
  pickCenter(self, event=None)
  autoCenterLig(self, event=None)
  findAutoLigandCenter(self)
  adjustSideLengths(self, ligand)
  autoCenter(self, event=None)
  findAutoMacroCenter(self)
  updateCenFromName(self, event=None)
  setCenter(self, mol)
  zeroOffsets(self)
  set_xoffset(self, val)
  set_yoffset(self, val)
  set_zoffset(self, val)
  updateCoords(self, event=None)
  updateTotalPtsVar(self)
  updateBoth(self, event=None)
  updateBox(self, event=None)
  setVisiVal(self, val, event=None)
  adjustMarker(self, event=None)
  showCenterCross(self, event=None)
  updateGridBox(self, event=None)
  showGridBox(self, event=None)
  __call__(self, gridcenter=(0.,0.,0.), npts=(40,40,40), spacing=.375, **kw)
None <- commandName( *args, **kw)
  doit(self, *args, **kw)
virtual method.

Inherited from Pmv.mvCommand.MVCommand: strArg

Inherited from Pmv.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)
(Constructor)

source code 
None
Overrides: Pmv.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)

guiCallback(self)

source code 
called each time the menuText['SetGridMB'] button is pressed
Overrides: Pmv.mvCommand.MVCommand.guiCallback

updateValues(self)

source code 
None

buildForm(self)

source code 
None

buildMenu(self, keyList, mB, vars, cmd, type='radio', cmdList=None)

source code 
None

buildFileMenu(self, event=None)

source code 
None

buildCenterMenu(self, event=None)

source code 
None

buildVisiMenu(self, event=None)

source code 
None

buildHelpMenu(self, event=None)

source code 
None

Close_cb(self, event=None)

source code 
None

Accept_cb(self, event=None)

source code 
None

setCenVal(self, val, event=None)

source code 
None

pickCenter(self, event=None)

source code 
None

autoCenterLig(self, event=None)

source code 
None

findAutoLigandCenter(self)

source code 
None

adjustSideLengths(self, ligand)

source code 
None

autoCenter(self, event=None)

source code 
None

findAutoMacroCenter(self)

source code 
None

updateCenFromName(self, event=None)

source code 
None

setCenter(self, mol)

source code 
None

zeroOffsets(self)

source code 
None

set_xoffset(self, val)

source code 
None

set_yoffset(self, val)

source code 
None

set_zoffset(self, val)

source code 
None

updateCoords(self, event=None)

source code 
None

updateTotalPtsVar(self)

source code 
None

updateBoth(self, event=None)

source code 
None

updateBox(self, event=None)

source code 
None

setVisiVal(self, val, event=None)

source code 
None

adjustMarker(self, event=None)

source code 
None

showCenterCross(self, event=None)

source code 
None

updateGridBox(self, event=None)

source code 
None

showGridBox(self, event=None)

source code 
None

__call__(self, gridcenter=(0.,0.,0.), npts=(40,40,40), spacing=.375, **kw)
(Call operator)

source code 
None <- commandName( *args, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__
(inherited documentation)

doit(self, *args, **kw)

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