Package Pmv :: Module msmsCommands :: Class ReadMSMS
[hide private]
[frames] | no frames]

Class ReadMSMS

source code

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

Command reads .face and .vert file, creates the msms surface and links it to the selection if can

    Package : Pmv

    Module  : msmsCommands

    Class   : ReadMSMS

    Command name : readMSMS

    
Synopsis :

    None--->mv.readMSMS(vertFilename,faceFilename,molName=None)

    
Required Arguments :

    vertFilename---name of the .vert file
 
    faceFilename---name of the .face file
    
    



Instance Methods [hide private]
  __init__(self, func=None)
  onAddObjectToViewer(self, obj)
  setEntry_cb(self, filename)
  buildFormDescr(self, formName)
descr <- buildFormDescr(self, formName): this virtual method is implemented in the classes derived from Command.
  guiCallback(self)
  doit(self, vertFilename, faceFilename, molName=None)
virtual method.
  __call__(self, vertFilename, faceFilename, molName=None, **kw)
None--->mv.readMSMS(vertFilename,faceFilename,molName=None, **kw)

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddCmdToViewer, 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__

onAddObjectToViewer(self, obj)

source code 
None

setEntry_cb(self, filename)

source code 
None

buildFormDescr(self, formName)

source code 
descr <- buildFormDescr(self, formName): this virtual method is implemented in the classes derived from Command. This is where the inputFormDescr is created and the description of the widgets appended. If a command has several inputForm buildFormDescr should build all the inputFormDescr and you do a if / elif check to know which one to create. formName : string name of the form corresponding to this descr.
Overrides: ViewerFramework.VFCommand.Command.buildFormDescr
(inherited documentation)

guiCallback(self)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback

doit(self, vertFilename, faceFilename, molName=None)

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

__call__(self, vertFilename, faceFilename, molName=None, **kw)
(Call operator)

source code 
None--->mv.readMSMS(vertFilename,faceFilename,molName=None, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__