Package Pmv :: Module APBSCommands :: Class APBSMap_Potential_to_MSMS
[hide private]
[frames] | no frames]

Class APBSMap_Potential_to_MSMS

source code

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

APBSMapPotential2MSMS maps APBS Potential into MSMS Surface

    
Package : Pmv
    
Module  : APBSCommands
    
Class   : APBSMap_Potential_to_MSMS
    
Command name : APBSMapPotential2MSMS
    
Synopsis:

    None <---  APBSMapPotential2MSMS(mol = mol, potential = potential)
    
Required Arguments:
  
            mol = name of the molecule

            potential = string representing where potential.dx is located



Instance Methods [hide private]
  onAddCmdToViewer(self)
Called when added to viewer
  onAddObjectToViewer(self, object)
Called when object is added to viewer
  onRemoveObjectFromViewer(self, object)
Called when object is removed from viewer
  doit(self, mol=None, potential=None)
doit function for APBSMap_Potential_to_MSMS
  guiCallback(self)
GUI callback for APBSMap_Potential_to_MSMS
  __call__(self, **kw)
Maps potential.dx into MSMS using...
  select_custom(self, evt)
  initFunc(self, ifd)
This function initializes GUI for APBSMap_Potential_to_MSMS
  setupUndoBefore(self, mol=None, potential=None)
This method builds the self.undoCmds string.

Inherited from mvCommand.MVCommand: __init__, 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, showForm, tkCb, updateGeom, warningMsg


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

onAddCmdToViewer(self)

source code 
Called when added to viewer
Overrides: ViewerFramework.VFCommand.Command.onAddCmdToViewer

onAddObjectToViewer(self, object)

source code 
Called when object is added to viewer

onRemoveObjectFromViewer(self, object)

source code 
Called when object is removed from viewer

doit(self, mol=None, potential=None)

source code 
doit function for APBSMap_Potential_to_MSMS
Overrides: ViewerFramework.VFCommand.Command.doit

guiCallback(self)

source code 
GUI callback for APBSMap_Potential_to_MSMS
Overrides: mvCommand.MVCommand.guiCallback

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

source code 
Maps potential.dx into MSMS using

VisionInterface/APBSPot2MSMS_net.py

Required Arguments:

    mol = name of the molecule

    potential = location of the potential.dx file

Overrides: ViewerFramework.VFCommand.Command.__call__

select_custom(self, evt)

source code 
None

initFunc(self, ifd)

source code 
This function initializes GUI for APBSMap_Potential_to_MSMS

setupUndoBefore(self, mol=None, potential=None)

source code 
This method builds the self.undoCmds string. This method should have the same signature than the __call__. When this string is executed it should undo the actions of this command. This string will be appended to the undoCmdStack list if the command is successfuly carried out. This method handles only commands with the negateKw. Other commands have to overwrite it.
Overrides: ViewerFramework.VFCommand.Command.setupUndoBefore
(inherited documentation)