Package Pmv :: Module superImposeCommands :: Class SuperImposeAtomsCommand
[hide private]
[frames] | no frames]

Class SuperImposeAtomsCommand

source code

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

Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  doit(self, refAtoms, mobAtoms)
The SuperImposeAtomsCommand takes two set of Atoms of the same length compute the rotation and translation matrices to superimpose the mobAtoms onto the refAtoms using rigidFit module and then transform the corresponding geometry.
  __call__(self, refAtoms, mobAtoms, **kw)
None <- superimposeAtoms(refAtoms, mobAtoms, **kw)

Inherited from mvCommand.MVCommand: __init__, guiCallback, 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]

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)

doit(self, refAtoms, mobAtoms)

source code 
The SuperImposeAtomsCommand takes two set of Atoms of the same length compute the rotation and translation matrices to superimpose the mobAtoms onto the refAtoms using rigidFit module and then transform the corresponding geometry.
Overrides: ViewerFramework.VFCommand.Command.doit

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

source code 
None <- superimposeAtoms(refAtoms, mobAtoms, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__