Package Pmv :: Module superimposeCommandsNew :: Class FreezeAtomsCommand
[hide private]
[frames] | no frames]

Class FreezeAtomsCommand

source code

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

Freeze the Atoms, store the coordinates as shown in masterGeom

Instance Methods [hide private]
  doit(self, mobAtoms)
mobAtoms: AtomSet that is being frozen.
  __call__(self, nodes, **kw)
None <- transformAtoms(mat, nodes, **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, 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]

doit(self, mobAtoms)

source code 
mobAtoms: AtomSet that is being frozen. Assuming the AtomSet are from same molecule
Overrides: ViewerFramework.VFCommand.Command.doit

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

source code 
None <- transformAtoms(mat, nodes, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__